From 6a1a1eed0bbc16fabbb3ec708dc8aca35d10a09a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C5=93ur?= Date: Fri, 1 Nov 2024 23:35:48 +0100 Subject: [PATCH] fix Windows build --- compat/ioapi.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/compat/ioapi.h b/compat/ioapi.h index 38cae99..c098efc 100644 --- a/compat/ioapi.h +++ b/compat/ioapi.h @@ -5,8 +5,11 @@ #include #ifndef _ZLIB_H -# include "zlib.h" -#endif +# if __has_include() +# include +# elif __has_include() +# include +# endif #endif typedef uint64_t ZPOS64_T;