mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-10 04:30:00 +00:00
python3-grpcio: Add missing include for close/open APIs
This is found with clang16 stricter warnings Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
+27
@@ -0,0 +1,27 @@
|
|||||||
|
From 4432b9a296c9c287dfe281b4d464dfd03e4eb721 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Khem Raj <raj.khem@gmail.com>
|
||||||
|
Date: Sun, 12 Feb 2023 21:25:04 -0800
|
||||||
|
Subject: [PATCH] zlib: Include unistd.h for open/close C APIs
|
||||||
|
|
||||||
|
Upstream-Status: Pending
|
||||||
|
|
||||||
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||||
|
---
|
||||||
|
third_party/zlib/gzguts.h | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/third_party/zlib/gzguts.h b/third_party/zlib/gzguts.h
|
||||||
|
index 57faf37..3c700c2 100644
|
||||||
|
--- a/third_party/zlib/gzguts.h
|
||||||
|
+++ b/third_party/zlib/gzguts.h
|
||||||
|
@@ -19,6 +19,7 @@
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
+#include <unistd.h>
|
||||||
|
#include "zlib.h"
|
||||||
|
#ifdef STDC
|
||||||
|
# include <string.h>
|
||||||
|
--
|
||||||
|
2.39.1
|
||||||
|
|
||||||
@@ -12,6 +12,7 @@ SRC_URI:append:class-target = " file://ppc-boringssl-support.patch \
|
|||||||
file://mips_bigendian.patch \
|
file://mips_bigendian.patch \
|
||||||
file://0001-Include-missing-cstdint-header.patch \
|
file://0001-Include-missing-cstdint-header.patch \
|
||||||
file://abseil-ppc-fixes.patch;patchdir=third_party/abseil-cpp \
|
file://abseil-ppc-fixes.patch;patchdir=third_party/abseil-cpp \
|
||||||
|
file://0001-zlib-Include-unistd.h-for-open-close-C-APIs.patch \
|
||||||
"
|
"
|
||||||
SRC_URI[sha256sum] = "e6dfc2b6567b1c261739b43d9c59d201c1b89e017afd9e684d85aa7a186c9f7a"
|
SRC_URI[sha256sum] = "e6dfc2b6567b1c261739b43d9c59d201c1b89e017afd9e684d85aa7a186c9f7a"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user