about summary refs log tree commit diff
path: root/src/ipaddr/ng_ipaddr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipaddr/ng_ipaddr.h')
-rw-r--r--src/ipaddr/ng_ipaddr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ipaddr/ng_ipaddr.h b/src/ipaddr/ng_ipaddr.h
index 1e198b0e..32839d08 100644
--- a/src/ipaddr/ng_ipaddr.h
+++ b/src/ipaddr/ng_ipaddr.h
@@ -8,6 +8,8 @@
 #define NG_IPADDR_HDR
 #include "portab.h"
 
+#include <sys/socket.h>
+
 #ifdef HAVE_ARPA_INET_H
 # include <arpa/inet.h>
 #else