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