]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ipaddr/ng_ipaddr.h
ng_ipaddr.h must include netinet/in.h.
[ngircd-alex.git] / src / ipaddr / ng_ipaddr.h
index 32839d083a8ab1e7328864ee2e376805ac890e6e..7894af25fbebefdb22f24adac1afe9a9dcb639b6 100644 (file)
@@ -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- */
+