diff options
author | Marcel Raad <Marcel.Raad@teamviewer.com> | 2017-07-12 07:55:18 +0200 |
---|---|---|
committer | Marcel Raad <Marcel.Raad@teamviewer.com> | 2017-07-12 07:55:18 +0200 |
commit | b22ec396405d05f9c47f78b56214b8381979e575 (patch) | |
tree | f5b81ddf1b18f74670bd56a37563b2f29ce08f9d /include/curl/system.h | |
parent | ef5cac3d8c6bd2bfd52b75e3f2e8db385565acbd (diff) | |
download | curl-b22ec396405d05f9c47f78b56214b8381979e575.tar.gz |
system.h: include winsock2.h before windows.h
... to avoid compiler warnings if the user doesn't want
WIN32_LEAN_AND_MEAN.
Diffstat (limited to 'include/curl/system.h')
-rw-r--r-- | include/curl/system.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 <windows.h> # include <winsock2.h> +# include <windows.h> # include <ws2tcpip.h> #endif |