From 4ba3ebdcfeb7b5aa2dd5079e939514a634395124 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Wed, 10 Apr 2013 22:38:46 -0400 Subject: 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. --- include/ifaddrs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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; -- cgit v1.2.1