1
0
mirror of https://github.com/osmarks/ngircd.git synced 2024-12-13 10:20:28 +00:00

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).
This commit is contained in:
Alexander Barton 2008-05-01 20:25:39 +02:00
parent f7c2e8223f
commit 4e507881f3

View File

@ -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