From: Dan Fandrich Date: Wed, 26 Mar 2014 21:27:34 +0000 (+0100) Subject: hostcheck: added a system include to define struct in_addr X-Git-Tag: curl-7_37_0~242 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8c7cf62811d688efeff49f8f9ab942b525ebfd4;p=thirdparty%2Fcurl.git hostcheck: added a system include to define struct in_addr --- diff --git a/lib/hostcheck.c b/lib/hostcheck.c index 162c522304..42eb2ee77c 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"