Commit Diff
- Commit:
4e507881f30c8b4296d87de519658e45f8cb417f
- From:
- Alexander Barton <alex@barton.de>
- Date:
- Message:
- 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).
- Actions:
- Patch | Tree
--- src/ipaddr/ng_ipaddr.h +++ 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