Unverified Commit b22ec396 authored by Marcel Raad's avatar Marcel Raad
Browse files

system.h: include winsock2.h before windows.h

... to avoid compiler warnings if the user doesn't want
WIN32_LEAN_AND_MEAN.
parent ef5cac3d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 <windows.h>
#  include <winsock2.h>
#  include <windows.h>
#  include <ws2tcpip.h>
#endif