1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 02:25:09 +00:00
serenity/Ports/cmake/patches/0004-cmcurl-Include-unistd.patch
EWouters e6d28a9dd4 Ports/cmake: Update cmake to version 3.23.0 and remove upstreamed patch
The check for HAVE_SIZEOF_SSIZE_T and not HAVE_SSIZE_T has been upstreamed in 99acfe41f5.
2022-03-31 16:05:07 -07:00

30 lines
852 B
Diff

From ac1f5e51b8069e98a593a0f5ad25fdcd0328eca8 Mon Sep 17 00:00:00 2001
From: Ali Mohammad Pur <ali.mpfard@gmail.com>
Date: Wed, 12 Jan 2022 22:18:02 +0330
Subject: [PATCH 5/7] cmcurl: Include unistd
Everyone gets this wrong. most platforms are very lax with these includes, but we're not one of them.
- [X] Local?
- [ ] Should be merged to upstream?
- [ ] Resolves issue(s) with our side of things
- [ ] Hack
---
Utilities/cmcurl/include/curl/multi.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/Utilities/cmcurl/include/curl/multi.h b/Utilities/cmcurl/include/curl/multi.h
index 37f9829b..4a2b94fa 100644
--- a/Utilities/cmcurl/include/curl/multi.h
+++ b/Utilities/cmcurl/include/curl/multi.h
@@ -47,6 +47,7 @@
* but with this warning attached.
*/
#include "curl.h"
+#include <unistd.h>
#ifdef __cplusplus
extern "C" {
--
2.34.1