From 88347540f3d52b461dd2f8f1b6d5d639e2490768 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sun, 9 Jul 2023 16:53:42 -0700 Subject: [PATCH] include zlib.h Various types included in zlib.h such as gzFile are implicitly included with minizip. Get rid of this behavior and explicitly include zlib.h. Signed-off-by: Rosen Penev --- include/types.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/include/types.h b/include/types.h index 6fd4c4553..0a7179af6 100644 --- a/include/types.h +++ b/include/types.h @@ -17,11 +17,7 @@ #include #include #include - -// workaround to get the rid of "redefinition of typedef 'Byte'" build warning -#if !defined (__APPLE__) -#include "zlib.h" -#endif +#include #if !defined(__MACTYPES__) #define __MACTYPES__