mirror of
https://github.com/curl/curl.git
synced 2026-07-16 09:57:16 +03:00
BUG: curl did not build with cmake with VS 2005 for two reasons, ws2tcpip.h requires winsock2.h to be included before it with that compiler, and wldap32 is not available with the default install of the compiler, so disable ldap support if that is not found
This commit is contained in:
parent
08d95bff5e
commit
fb08218a04
3 changed files with 13 additions and 2 deletions
|
|
@ -140,6 +140,7 @@
|
|||
|
||||
/* on windows socklen_t is in here */
|
||||
#ifdef _WIN32
|
||||
# include <winsock2.h>
|
||||
# include <ws2tcpip.h>
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue