gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 141/208: system.h: include winsock2.h before window


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 141/208: system.h: include winsock2.h before windows.h
Date: Wed, 09 Aug 2017 17:35:38 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to annotated tag gnurl-7.55.0
in repository gnurl.

commit b22ec396405d05f9c47f78b56214b8381979e575
Author: Marcel Raad <address@hidden>
AuthorDate: Wed Jul 12 07:55:18 2017 +0200

    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 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
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]