commit 4e507881f30c8b4296d87de519658e45f8cb417f from: Alexander Barton date: Thu May 01 18:25:39 2008 UTC 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). commit - f7c2e8223f95fd984e7b96308905eef505c01680 commit + 4e507881f30c8b4296d87de519658e45f8cb417f blob - 1e198b0e7ce41d49e0d18f8f0189e8a9dc1390c3 blob + 32839d083a8ab1e7328864ee2e376805ac890e6e --- src/ipaddr/ng_ipaddr.h +++ src/ipaddr/ng_ipaddr.h @@ -8,6 +8,8 @@ #define NG_IPADDR_HDR #include "portab.h" +#include + #ifdef HAVE_ARPA_INET_H # include #else