From b22ec396405d05f9c47f78b56214b8381979e575 Mon Sep 17 00:00:00 2001 From: Marcel Raad Date: Wed, 12 Jul 2017 07:55:18 +0200 Subject: [PATCH] system.h: include winsock2.h before windows.h ... to avoid compiler warnings if the user doesn't want WIN32_LEAN_AND_MEAN. --- include/curl/system.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/curl/system.h b/include/curl/system.h index e808580eb0..79abf8fc28 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