mirror of
https://github.com/curl/curl.git
synced 2025-02-05 14:30:10 +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
|
#ifdef HAVE_SYS_SOCKET_H
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_WINSOCK_H
|
#ifdef defined(WIN32) && !defined(__GNUC__) || defined(__MINGW32__)
|
||||||
#include <winsock.h>
|
#include <winsock.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user