summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-grpcio/0001-zlib-Include-unistd.h-for-open-close-C-APIs.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-grpcio/0001-zlib-Include-unistd.h-for-open-close-C-APIs.patch')
-rw-r--r--meta-python/recipes-devtools/python/python3-grpcio/0001-zlib-Include-unistd.h-for-open-close-C-APIs.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-grpcio/0001-zlib-Include-unistd.h-for-open-close-C-APIs.patch b/meta-python/recipes-devtools/python/python3-grpcio/0001-zlib-Include-unistd.h-for-open-close-C-APIs.patch
new file mode 100644
index 0000000000..918c6c8601
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-grpcio/0001-zlib-Include-unistd.h-for-open-close-C-APIs.patch
@@ -0,0 +1,27 @@
1From 4432b9a296c9c287dfe281b4d464dfd03e4eb721 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 12 Feb 2023 21:25:04 -0800
4Subject: [PATCH] zlib: Include unistd.h for open/close C APIs
5
6Upstream-Status: Pending
7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9---
10 third_party/zlib/gzguts.h | 1 +
11 1 file changed, 1 insertion(+)
12
13diff --git a/third_party/zlib/gzguts.h b/third_party/zlib/gzguts.h
14index 57faf37..3c700c2 100644
15--- a/third_party/zlib/gzguts.h
16+++ b/third_party/zlib/gzguts.h
17@@ -19,6 +19,7 @@
18 #endif
19
20 #include <stdio.h>
21+#include <unistd.h>
22 #include "zlib.h"
23 #ifdef STDC
24 # include <string.h>
25--
262.39.1
27