about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2008-05-01 20:25:39 +0200
committerAlexander Barton <alex@barton.de>2008-05-01 20:25:39 +0200
commit4e507881f30c8b4296d87de519658e45f8cb417f (patch)
tree7c9b3f628129191a42f0ad0df43ae5481575ec04 /src
parentf7c2e8223f95fd984e7b96308905eef505c01680 (diff)
downloadngircd-4e507881f30c8b4296d87de519658e45f8cb417f.tar.gz
ngircd-4e507881f30c8b4296d87de519658e45f8cb417f.zip
On AIX (for example) socklen_t is defined in sys/socket.h
On AIX and probably other systems socklen_t is defined in sys/socket.h,
so we have to include it here explicitly (tested by Florian).
Diffstat (limited to 'src')
-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