aboutsummaryrefslogtreecommitdiff
path: root/include/curl
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2009-07-15 19:25:22 +0000
committerBill Hoffman <bill.hoffman@kitware.com>2009-07-15 19:25:22 +0000
commitfb08218a0409bdae7ccdc647ffdddf72c3c5fe61 (patch)
treea8679a038674a3155577297f079a33fe5c075f6d /include/curl
parent08d95bff5e919a59f91417af091a34cea6004e3d (diff)
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
Diffstat (limited to 'include/curl')
-rw-r--r--include/curl/curlbuild.h.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/curl/curlbuild.h.cmake b/include/curl/curlbuild.h.cmake
index 0173a215f..afa1316c0 100644
--- a/include/curl/curlbuild.h.cmake
+++ b/include/curl/curlbuild.h.cmake
@@ -140,6 +140,7 @@
/* on windows socklen_t is in here */
#ifdef _WIN32
+# include <winsock2.h>
# include <ws2tcpip.h>
#endif