From 96a3902a90a30d59d76308a3074e6d1ea6e03d08 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 14 Oct 2025 19:03:01 +0000 Subject: [PATCH 1/2] Initial plan From 6d7e86bb59359d0c07fd92801c5c54f32be3e454 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 14 Oct 2025 19:08:51 +0000 Subject: [PATCH 2/2] Fix macOS build: include unistd.h in gzguts.h for lseek declaration Co-authored-by: 3dJan <56254096+3dJan@users.noreply.github.com> --- Libraries/zlib/Include/gzguts.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Libraries/zlib/Include/gzguts.h b/Libraries/zlib/Include/gzguts.h index eba72085b..73e213fc4 100644 --- a/Libraries/zlib/Include/gzguts.h +++ b/Libraries/zlib/Include/gzguts.h @@ -38,6 +38,10 @@ # include #endif +#if !defined(_WIN32) +# include +#endif + #if defined(_WIN32) # define WIDECHAR #endif