From 06eb81235d975bc7721719d25ac114b4ab2c94da Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Tue, 1 Jul 2014 09:17:22 +0100 Subject: fix fetchers include on windows --- utils/config.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'utils') diff --git a/utils/config.h b/utils/config.h index c0a3c0d1b..d44359576 100644 --- a/utils/config.h +++ b/utils/config.h @@ -58,15 +58,18 @@ char *strcasestr(const char *haystack, const char *needle); char *strchrnul(const char *s, int c); #endif +#define HAVE_SYS_SELECT #define HAVE_INETATON #if (defined(_WIN32)) #undef HAVE_INETATON +#undef HAVE_SYS_SELECT #include #define EAFNOSUPPORT WSAEAFNOSUPPORT int inet_aton(const char *cp, struct in_addr *inp); #else #include #include +#include #endif #define HAVE_INETPTON -- cgit v1.2.3