mirror of
https://github.com/curl/curl.git
synced 2025-01-30 14:22:33 +08:00
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
This commit is contained in:
parent
95e601e2b1
commit
e4fefd088d
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user