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 32839d08..7894af25 100644
--- a/src/ipaddr/ng_ipaddr.h
+++ b/src/ipaddr/ng_ipaddr.h
@@ -9,6 +9,7 @@
 #include "portab.h"
 
 #include <sys/socket.h>
+#include <netinet/in.h>
 
 #ifdef HAVE_ARPA_INET_H
 # include <arpa/inet.h>
@@ -115,3 +116,4 @@ ng_ipaddr_tostr_r(const ng_ipaddr_t *addr, char *d)
 #endif
 
 /* -eof- */
+