mirror of
https://github.com/curl/curl.git
synced 2026-04-20 05:31:13 +03: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue