summaryrefslogtreecommitdiff
path: root/Ports/cmake/patches/0014-cmcurl-include-unistd.patch
diff options
context:
space:
mode:
authorAnotherTest <ali.mpfard@gmail.com>2021-02-11 22:37:29 +0330
committerAndreas Kling <kling@serenityos.org>2021-02-15 17:32:56 +0100
commit80d6f46d4e230e2cba46c57eb154a24456aac806 (patch)
treee0924acae8a21f5a4ea83a113083b0a360abdad1 /Ports/cmake/patches/0014-cmcurl-include-unistd.patch
parentbb777459a0eedb38b85d41da96a00a498895a64f (diff)
downloadserenity-80d6f46d4e230e2cba46c57eb154a24456aac806.zip
Ports: Add a cmake port
Yes, you build this *inside* serenity.
Diffstat (limited to 'Ports/cmake/patches/0014-cmcurl-include-unistd.patch')
-rw-r--r--Ports/cmake/patches/0014-cmcurl-include-unistd.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/Ports/cmake/patches/0014-cmcurl-include-unistd.patch b/Ports/cmake/patches/0014-cmcurl-include-unistd.patch
new file mode 100644
index 0000000000..dc9db7e5ab
--- /dev/null
+++ b/Ports/cmake/patches/0014-cmcurl-include-unistd.patch
@@ -0,0 +1,10 @@
+--- a/Utilities/cmcurl/include/curl/multi.h 2021-02-12 21:03:08.726002327 +0330
++++ b/Utilities/cmcurl/include/curl/multi.h 2021-02-12 21:03:12.015764990 +0330
+@@ -47,6 +47,7 @@
+ * but with this warning attached.
+ */
+ #include "curl.h"
++#include <unistd.h>
+
+ #ifdef __cplusplus
+ extern "C" {