Apply a small patch to common/zlib/gzguts.h to fix a build issue in macOS

This commit is contained in:
Nikolaj Schlej 2025-02-14 05:22:05 +01:00
parent dcf21fa50a
commit e66bc7d8dc

View file

@ -3,6 +3,11 @@
* For conditions of distribution and use, see copyright notice in zlib.h
*/
// UEFITool: required for macOS
#ifndef _WIN32
#include <unistd.h>
#endif
#ifdef _LARGEFILE64_SOURCE
# ifndef _LARGEFILE_SOURCE
# define _LARGEFILE_SOURCE 1