From c91c9a0e128577e03479d4cde6a86a10f4fcf4c1 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 28 Apr 2021 13:25:11 +0200 Subject: [PATCH] Buildfix for Apple --- deps/libchdr/deps/zlib-1.2.11/gzguts.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/deps/libchdr/deps/zlib-1.2.11/gzguts.h b/deps/libchdr/deps/zlib-1.2.11/gzguts.h index 990a4d25..45be5735 100644 --- a/deps/libchdr/deps/zlib-1.2.11/gzguts.h +++ b/deps/libchdr/deps/zlib-1.2.11/gzguts.h @@ -3,6 +3,10 @@ * For conditions of distribution and use, see copyright notice in zlib.h */ +#ifndef _WIN32 +# include +#endif + #ifdef _LARGEFILE64_SOURCE # ifndef _LARGEFILE_SOURCE # define _LARGEFILE_SOURCE 1 -- 2.39.5