From 6aa86c493bd77b70d1f5018e102bc3094290d588 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 27 Sep 2017 10:22:55 +0200 Subject: [PATCH] curl.h: include on cygwin too When building with -std=c++14 on cygwin, this header won't be automatically included as it otherwise is. The 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 #endif