From e66bc7d8dc6c16369e1e3cc1c60b34e1bb784bc9 Mon Sep 17 00:00:00 2001 From: Nikolaj Schlej Date: Fri, 14 Feb 2025 05:22:05 +0100 Subject: [PATCH] Apply a small patch to common/zlib/gzguts.h to fix a build issue in macOS --- common/zlib/gzguts.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/common/zlib/gzguts.h b/common/zlib/gzguts.h index eba7208..23229ca 100644 --- a/common/zlib/gzguts.h +++ b/common/zlib/gzguts.h @@ -3,6 +3,11 @@ * For conditions of distribution and use, see copyright notice in zlib.h */ +// UEFITool: required for macOS +#ifndef _WIN32 + #include +#endif + #ifdef _LARGEFILE64_SOURCE # ifndef _LARGEFILE_SOURCE # define _LARGEFILE_SOURCE 1