mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
system.h: include winsock2.h before windows.h
... to avoid compiler warnings if the user doesn't want WIN32_LEAN_AND_MEAN.
This commit is contained in:
parent
ef5cac3d8c
commit
b22ec39640
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user