include cleanups: remove unused headers and add feature test macros
[musl] / src / network / getifaddrs.c
index fc49929..5a94cc7 100644 (file)
@@ -11,6 +11,7 @@
 #include <arpa/inet.h> /* inet_pton */
 #include <unistd.h>
 #include <sys/ioctl.h>
+#include <sys/socket.h>
 
 typedef union {
        struct sockaddr_in6 v6;