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:
Bill Hoffman 2009-07-15 19:25:22 +00:00
parent 08d95bff5e
commit fb08218a04
3 changed files with 13 additions and 2 deletions

View file

@ -140,6 +140,7 @@
/* on windows socklen_t is in here */
#ifdef _WIN32
# include <winsock2.h>
# include <ws2tcpip.h>
#endif