summaryrefslogtreecommitdiff
path: root/CMake
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2009-06-06 13:18:01 +0000
committerBill Hoffman <bill.hoffman@kitware.com>2009-06-06 13:18:01 +0000
commit15be673054bd0b71f9a4e47ee0af337f3d917e09 (patch)
tree124fcbee52c01872a0b21042a80ad0eb8e9076da /CMake
parent16a56496708b38dcbc05e744536046081b815c34 (diff)
downloadcurl-15be673054bd0b71f9a4e47ee0af337f3d917e09.tar.gz
ENH: add some cmake docs and fix build with socklen_t
Diffstat (limited to 'CMake')
-rw-r--r--CMake/CheckTypeSize.c.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/CMake/CheckTypeSize.c.in b/CMake/CheckTypeSize.c.in
index 8c9a0163e..ba8d3044c 100644
--- a/CMake/CheckTypeSize.c.in
+++ b/CMake/CheckTypeSize.c.in
@@ -6,6 +6,12 @@
# include <sys/types.h>
#endif /* HAVE_SYS_TYPES_H */
+
+#ifdef _WIN32
+# include <ws2tcpip.h>
+#endif
+
+
#ifdef HAVE_STDINT_H
# include <stdint.h>
#endif /* HAVE_STDINT_H */