diff options
-rw-r--r-- | source/fitz/unzip.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/fitz/unzip.c b/source/fitz/unzip.c index 8c7c1f61..355da552 100644 --- a/source/fitz/unzip.c +++ b/source/fitz/unzip.c @@ -2,6 +2,10 @@ #include <zlib.h> +#if !defined (INT32_MAX) +#define INT32_MAX 2147483647L +#endif + #define ZIP_LOCAL_FILE_SIG 0x04034b50 #define ZIP_DATA_DESC_SIG 0x08074b50 #define ZIP_CENTRAL_DIRECTORY_SIG 0x02014b50 |