summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-09-27 10:22:55 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-09-27 22:56:12 +0200
commit6aa86c493bd77b70d1f5018e102bc3094290d588 (patch)
tree4554660e46c59259df8846333d9ac3b751c67792 /include
parent91a6e60c1efe8b059706b391f0635ddb2bbeae16 (diff)
downloadcurl-6aa86c493bd77b70d1f5018e102bc3094290d588.tar.gz
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
Diffstat (limited to 'include')
-rw-r--r--include/curl/curl.h1
1 files changed, 1 insertions, 0 deletions
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