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
1 changed files with 2 additions and 0 deletions

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