From d465ea2a674eebaa6fbc7b0c175bfadd97923137 Mon Sep 17 00:00:00 2001 From: Bananymous Date: Wed, 27 Nov 2024 21:32:10 +0200 Subject: [PATCH] LibC: Fix headers :) --- userspace/libraries/LibC/include/net/if.h | 2 +- userspace/libraries/LibC/include/sys/banan-os.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/userspace/libraries/LibC/include/net/if.h b/userspace/libraries/LibC/include/net/if.h index 39de6da2..ceb61d4c 100644 --- a/userspace/libraries/LibC/include/net/if.h +++ b/userspace/libraries/LibC/include/net/if.h @@ -24,7 +24,7 @@ struct ifreq struct sockaddr ifru_netmask; struct sockaddr ifru_gwaddr; struct sockaddr ifru_hwaddr; - unsigned char __min_storage[sizeof(sockaddr) + 6]; + unsigned char __min_storage[sizeof(struct sockaddr) + 6]; } ifr_ifru; }; diff --git a/userspace/libraries/LibC/include/sys/banan-os.h b/userspace/libraries/LibC/include/sys/banan-os.h index 7bcecc81..6d93e4ff 100644 --- a/userspace/libraries/LibC/include/sys/banan-os.h +++ b/userspace/libraries/LibC/include/sys/banan-os.h @@ -5,7 +5,7 @@ __BEGIN_DECLS -#define __need_size_t 1 +#define __need_size_t #include #define TTY_CMD_SET 0x01