gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnurl] 231/256: curl.h: include <sys/select.h> on cygwin t


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 231/256: curl.h: include <sys/select.h> on cygwin too
Date: Fri, 06 Oct 2017 19:45:22 +0200

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

ng0 pushed a commit to branch master
in repository gnurl.

commit 6aa86c493bd77b70d1f5018e102bc3094290d588
Author: Daniel Stenberg <address@hidden>
AuthorDate: Wed Sep 27 10:22:55 2017 +0200

    curl.h: include <sys/select.h> on cygwin too
    
    When building with -std=c++14 on cygwin, this header won't be
    automatically included as it otherwise is.
    
    The <sys/select.h> include decision should ideally be reversed and be
    avoided where that header file doesn't exist.
    
    Reported-by: Ian Fette
    Fixes #1925
---
 include/curl/curl.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/curl/curl.h b/include/curl/curl.h
index 501e3d19b..7139a3311 100644
--- a/include/curl/curl.h
+++ b/include/curl/curl.h
@@ -74,6 +74,7 @@
 #if defined(_AIX) || defined(__NOVELL_LIBC__) || defined(__NetBSD__) || \
     defined(__minix) || defined(__SYMBIAN32__) || defined(__INTEGRITY) || \
     defined(ANDROID) || defined(__ANDROID__) || defined(__OpenBSD__) || \
+    defined(__CYGWIN__) || \
    (defined(__FreeBSD_version) && (__FreeBSD_version < 800000))
 #include <sys/select.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]