diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2009-06-06 13:18:01 +0000 |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2009-06-06 13:18:01 +0000 |
commit | 15be673054bd0b71f9a4e47ee0af337f3d917e09 (patch) | |
tree | 124fcbee52c01872a0b21042a80ad0eb8e9076da /CMake | |
parent | 16a56496708b38dcbc05e744536046081b815c34 (diff) | |
download | curl-15be673054bd0b71f9a4e47ee0af337f3d917e09.tar.gz |
ENH: add some cmake docs and fix build with socklen_t
Diffstat (limited to 'CMake')
-rw-r--r-- | CMake/CheckTypeSize.c.in | 6 |
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 */ |