diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2007-09-17 19:21:47 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2007-09-17 19:21:47 (GMT) |
commit | 9cbb9987371627841a8c508c0880f901a78e844a (patch) | |
tree | c95234acf6875f463574ac782048602a49accf52 /Utilities/cmcurl/CMake/CurlTests.c | |
parent | 1d81cf994a85ddc0cc6c0626928c33cb8d94ea6d (diff) | |
download | CMake-9cbb9987371627841a8c508c0880f901a78e844a.zip CMake-9cbb9987371627841a8c508c0880f901a78e844a.tar.gz CMake-9cbb9987371627841a8c508c0880f901a78e844a.tar.bz2 |
ENH: add support for vs 2008 beta 2
Diffstat (limited to 'Utilities/cmcurl/CMake/CurlTests.c')
-rw-r--r-- | Utilities/cmcurl/CMake/CurlTests.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Utilities/cmcurl/CMake/CurlTests.c b/Utilities/cmcurl/CMake/CurlTests.c index fed3894..c5ba7c2 100644 --- a/Utilities/cmcurl/CMake/CurlTests.c +++ b/Utilities/cmcurl/CMake/CurlTests.c @@ -306,9 +306,12 @@ gethostbyname_r(NULL, NULL, NULL, 0, NULL, NULL); } #endif #ifdef HAVE_SOCKLEN_T +#ifdef _WIN32 +#include <ws2tcpip.h> +#else #include <sys/types.h> #include <sys/socket.h> - +#endif int main () { |