summaryrefslogtreecommitdiff
path: root/Ports/curl/patches/0001-Teach-curl.h-about-serenity-s-sys-select.h-include.patch
blob: 19ab1845cd87a7a0f2f315feb0e31f1967e1c174 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From 0000000000000000000000000000000000000000 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>