Commit Diff
Diff:
f7c2e8223f95fd984e7b96308905eef505c01680
4e507881f30c8b4296d87de519658e45f8cb417f
Commit:
4e507881f30c8b4296d87de519658e45f8cb417f
Tree:
7c9b3f628129191a42f0ad0df43ae5481575ec04
Author:
Alexander Barton <alex@barton.de>
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).
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 <sys/socket.h>
+
#ifdef HAVE_ARPA_INET_H
# include <arpa/inet.h>
#else
IRCNow