X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Ftcpdchk.c;h=d3edb22df5f956ea4c2a8b9019a8b9b69e5e5d38;hp=98bdc2b0ec0273582b2a50414cc35305dc53ba23;hb=a679666e56f9f6ea19e4c22e36089ccb3716dd0f;hpb=b3b89ab95e626286ad2fe9ccf5b589f153e5aa37 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