diff options
Diffstat (limited to 'Ports/curl/patches/0001-Teach-curl.h-about-serenity-s-sys-select.h-include.patch')
-rw-r--r-- | Ports/curl/patches/0001-Teach-curl.h-about-serenity-s-sys-select.h-include.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Ports/curl/patches/0001-Teach-curl.h-about-serenity-s-sys-select.h-include.patch b/Ports/curl/patches/0001-Teach-curl.h-about-serenity-s-sys-select.h-include.patch new file mode 100644 index 0000000000..6e01d50279 --- /dev/null +++ b/Ports/curl/patches/0001-Teach-curl.h-about-serenity-s-sys-select.h-include.patch @@ -0,0 +1,26 @@ +From f3a2d182fe9f6d569db5e6f28e3926ccdce84b1a Mon Sep 17 00:00:00 2001 +From: Luke Wilde <lukew@serenityos.org> +Date: Sun, 13 Mar 2022 16:50:19 +0000 +Subject: [PATCH] Teach curl.h about serenity's <sys/select.h> include + +Co-Authored-By: Andreas Kling <kling@serenityos.org> +--- + include/curl/curl.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/include/curl/curl.h b/include/curl/curl.h +index 3a2c2ea..2b7c86b 100644 +--- a/include/curl/curl.h ++++ b/include/curl/curl.h +@@ -71,7 +71,7 @@ + #if defined(_AIX) || defined(__NOVELL_LIBC__) || defined(__NetBSD__) || \ + defined(__minix) || defined(__SYMBIAN32__) || defined(__INTEGRITY) || \ + defined(ANDROID) || defined(__ANDROID__) || defined(__OpenBSD__) || \ +- defined(__CYGWIN__) || defined(AMIGA) || defined(__NuttX__) || \ ++ defined(__CYGWIN__) || defined(AMIGA) || defined(__NuttX__) || defined(__serenity__) || \ + (defined(__FreeBSD_version) && (__FreeBSD_version < 800000)) || \ + (defined(__MidnightBSD_version) && (__MidnightBSD_version < 100000)) + #include <sys/select.h> +-- +2.36.1 + |