From: Marcel Raad Date: Wed, 12 Jul 2017 05:55:18 +0000 (+0200) Subject: system.h: include winsock2.h before windows.h X-Git-Tag: curl-7_55_0~66 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b22ec396405d05f9c47f78b56214b8381979e575;p=curl system.h: include winsock2.h before windows.h ... to avoid compiler warnings if the user doesn't want WIN32_LEAN_AND_MEAN. --- diff --git a/include/curl/system.h b/include/curl/system.h index e808580eb..79abf8fc2 100644 --- a/include/curl/system.h +++ b/include/curl/system.h @@ -442,8 +442,8 @@ /* CURL_PULL_WS2TCPIP_H is defined above when inclusion of header file */ /* ws2tcpip.h is required here to properly make type definitions below. */ #ifdef CURL_PULL_WS2TCPIP_H -# include # include +# include # include #endif