gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnurl] 149/163: curl_setup: include <winerror.h> before <w


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 149/163: curl_setup: include <winerror.h> before <windows.h>
Date: Sun, 05 Aug 2018 12:37:55 +0200

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

ng0 pushed a commit to branch master
in repository gnurl.

commit 8272ec50f02bd5277bdad09a98ddfc8c6d68a979
Author: Marcel Raad <address@hidden>
AuthorDate: Sun Jul 8 16:49:21 2018 +0200

    curl_setup: include <winerror.h> before <windows.h>
    
    Otherwise, only part of it gets pulled in through <windows.h> on
    original MinGW.
    
    Fixes https://github.com/curl/curl/issues/2361
    Closes https://github.com/curl/curl/pull/2721
---
 lib/curl_setup.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/curl_setup.h b/lib/curl_setup.h
index 9696a07d0..7c8518174 100644
--- a/lib/curl_setup.h
+++ b/lib/curl_setup.h
@@ -1,4 +1,4 @@
-#ifndef HEADER_CURL_SETUP_H
+#ifndef HEADER_CURL_SETUP_H
 #define HEADER_CURL_SETUP_H
 /***************************************************************************
  *                                  _   _ ____  _
@@ -242,6 +242,7 @@
 #  if defined(_UNICODE) && !defined(UNICODE)
 #    define UNICODE
 #  endif
+#  include <winerror.h>
 #  include <windows.h>
 #  ifdef HAVE_WINSOCK2_H
 #    include <winsock2.h>

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



reply via email to

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