aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-02-25 08:20:29 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-02-25 08:20:29 +0000
commite4fefd088d535704dbcdfa5cc9950e59b1787332 (patch)
treeb7b136181258734be749f12e9fa5829708e62013
parent95e601e2b142063642923f4ab2bb5cb32960520e (diff)
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
-rw-r--r--lib/multi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/multi.h b/lib/multi.h
index a9bd4eaf4..d178d5340 100644
--- a/lib/multi.h
+++ b/lib/multi.h
@@ -50,7 +50,7 @@
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
-#ifdef HAVE_WINSOCK_H
+#ifdef defined(WIN32) && !defined(__GNUC__) || defined(__MINGW32__)
#include <winsock.h>
#endif