From 4e507881f30c8b4296d87de519658e45f8cb417f Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Thu, 1 May 2008 20:25:39 +0200 Subject: [PATCH] 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). --- src/ipaddr/ng_ipaddr.h | 2 ++ 1 file changed, 2 insertions(+) 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