]> granicus.if.org Git - curl/commitdiff
<ws2tcpip.h> needed for 'socklen_t' typedef.
authorGisle Vanem <gvanem@broadpark.no>
Sat, 6 Oct 2007 17:20:06 +0000 (17:20 +0000)
committerGisle Vanem <gvanem@broadpark.no>
Sat, 6 Oct 2007 17:20:06 +0000 (17:20 +0000)
include/curl/curl.h

index 10a28788732bd78b19402711dbf92d5cd0ae6712..5bd6b3feb8fe4f6af7278a02c481d068177cb3e6 100644 (file)
@@ -151,6 +151,7 @@ extern "C" {
 /* The check above prevents the winsock2 inclusion if winsock.h already was
    included, since they can't co-exist without problems */
 #include <winsock2.h>
+#include <ws2tcpip.h>
 #endif
 #else