aboutsummaryrefslogtreecommitdiff
path: root/CMake
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 /CMake
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 'CMake')
-rw-r--r--CMake/CheckTypeSize.c.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMake/CheckTypeSize.c.in b/CMake/CheckTypeSize.c.in
index ba8d3044c..9e48df153 100644
--- a/CMake/CheckTypeSize.c.in
+++ b/CMake/CheckTypeSize.c.in
@@ -8,6 +8,7 @@
#ifdef _WIN32
+# include <winsock2.h>
# include <ws2tcpip.h>
#endif