diff options
| author | Alexander Barton <alex@barton.de> | 2008-05-01 20:25:39 +0200 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2008-05-01 20:25:39 +0200 |
| commit | 4e507881f30c8b4296d87de519658e45f8cb417f (patch) | |
| tree | 7c9b3f628129191a42f0ad0df43ae5481575ec04 /src | |
| parent | f7c2e8223f95fd984e7b96308905eef505c01680 (diff) | |
| download | ngircd-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.h | 2 |
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 |