blob: a5e767029eee429ca705e14bffb23c562c675a29 [file] [log] [blame]
Patrick Williams169d7bc2024-01-05 11:33:25 -06001From 6ede7d01b18a4d9eeaccd25f5c1ab9985cb65307 Mon Sep 17 00:00:00 2001
Andrew Geissler6aa7eec2023-03-03 12:41:14 -06002From: 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>
Patrick Williams169d7bc2024-01-05 11:33:25 -06009
Andrew Geissler6aa7eec2023-03-03 12:41:14 -060010---
11 third_party/zlib/gzguts.h | 1 +
12 1 file changed, 1 insertion(+)
13
14diff --git a/third_party/zlib/gzguts.h b/third_party/zlib/gzguts.h
15index 57faf37..3c700c2 100644
16--- a/third_party/zlib/gzguts.h
17+++ b/third_party/zlib/gzguts.h
18@@ -19,6 +19,7 @@
19 #endif
20
21 #include <stdio.h>
22+#include <unistd.h>
23 #include "zlib.h"
24 #ifdef STDC
25 # include <string.h>