From a679666e56f9f6ea19e4c22e36089ccb3716dd0f Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 16 Dec 2008 14:39:05 +0100 Subject: [PATCH] Include sys/socket.h, arpa/inet.h --- src/tcpdchk.c | 9 +++++++++ 1 file changed, 9 insertions(+) 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 -- 1.7.10.4