about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--include/ifaddrs.h1
1 files changed, 1 insertions, 0 deletions
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 <features.h>
 #include <netinet/in.h>
+#include <sys/socket.h>
 
 struct ifaddrs {
 	struct ifaddrs *ifa_next;