hostcheck: added a system include to define struct in_addr
authorDan Fandrich <dan@coneharvesters.com>
Wed, 26 Mar 2014 21:27:34 +0000 (22:27 +0100)
committerDan Fandrich <dan@coneharvesters.com>
Wed, 26 Mar 2014 21:29:00 +0000 (22:29 +0100)
lib/hostcheck.c

index 162c522..42eb2ee 100644 (file)
     defined(USE_GSKIT)
 /* these backends use functions from this file */
 
+#ifdef HAVE_NETINET_IN_H
+#include <netinet/in.h>
+#endif
+
 #include "hostcheck.h"
 #include "rawstr.h"
 #include "inet_pton.h"