From: Daniel Stenberg Date: Mon, 25 Feb 2002 08:20:29 +0000 (+0000) Subject: cygnus can't include winsock.h even though it has it, why we need to X-Git-Tag: curl-7_9_5-pre4~20 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e4fefd088d535704dbcdfa5cc9950e59b1787332;p=thirdparty%2Fcurl.git cygnus can't include winsock.h even though it has it, why we need to make a different and more complicated check for when to include it --- diff --git a/lib/multi.h b/lib/multi.h index a9bd4eaf41..d178d5340a 100644 --- a/lib/multi.h +++ b/lib/multi.h @@ -50,7 +50,7 @@ #ifdef HAVE_SYS_SOCKET_H #include #endif -#ifdef HAVE_WINSOCK_H +#ifdef defined(WIN32) && !defined(__GNUC__) || defined(__MINGW32__) #include #endif