From: Adam Dickmeiss Date: Tue, 16 Dec 2008 13:39:05 +0000 (+0100) Subject: Include sys/socket.h, arpa/inet.h X-Git-Tag: v3.0.40~22^2~2 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=a679666e56f9f6ea19e4c22e36089ccb3716dd0f Include sys/socket.h, arpa/inet.h --- diff --git a/src/tcpdchk.c b/src/tcpdchk.c index 98bdc2b..d3edb22 100644 --- a/src/tcpdchk.c +++ b/src/tcpdchk.c @@ -22,6 +22,15 @@ #include #endif +#if HAVE_ARPA_INET_H +#include +#endif + +#if HAVE_SYS_SOCKET_H +/* freebsd wants this for AF_INET */ +#include +#endif + #if HAVE_NETDB_H #include #endif