Commit e4fefd08 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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
parent 95e601e2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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