From: Rich Felker Date: Thu, 11 Apr 2013 02:38:46 +0000 (-0400) Subject: make ifaddrs.h expose sys/socket.h X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=commitdiff_plain;h=4ba3ebdcfeb7b5aa2dd5079e939514a634395124 make ifaddrs.h expose sys/socket.h the getifaddrs interface seems to have been invented by glibc, and they expose socket.h, so for us not to do so is just gratuitous incompatibility with the interface we're mimicing. --- diff --git a/include/ifaddrs.h b/include/ifaddrs.h index 800eef65..4726db6e 100644 --- a/include/ifaddrs.h +++ b/include/ifaddrs.h @@ -7,6 +7,7 @@ extern "C" { #include #include +#include struct ifaddrs { struct ifaddrs *ifa_next;