From: Alexander Barton Date: Thu, 1 May 2008 18:25:39 +0000 (+0200) Subject: On AIX (for example) socklen_t is defined in sys/socket.h X-Git-Tag: rel-13-rc1~133 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4e507881f30c8b4296d87de519658e45f8cb417f;p=ngircd 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). --- 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 + #ifdef HAVE_ARPA_INET_H # include #else