diff --git a/lib/hostcheck.c b/lib/hostcheck.c index 162c52230..42eb2ee77 100644 --- a/lib/hostcheck.c +++ b/lib/hostcheck.c @@ -26,6 +26,10 @@ defined(USE_GSKIT) /* these backends use functions from this file */ +#ifdef HAVE_NETINET_IN_H +#include +#endif + #include "hostcheck.h" #include "rawstr.h" #include "inet_pton.h"