about summary refs log tree commit diff
path: root/include/ifaddrs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ifaddrs.h')
-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;