Commit Diff
Diff:
f7c2e8223f95fd984e7b96308905eef505c01680
4e507881f30c8b4296d87de519658e45f8cb417f
4e507881f30c8b4296d87de519658e45f8cb417f
Commit:
4e507881f30c8b4296d87de519658e45f8cb417f
Tree:
7c9b3f628129191a42f0ad0df43ae5481575ec04
Committer:
Alexander Barton <alex@barton.de>
Date:
Thu May 1 18:25:39 2008
UTC
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).
--- 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