Merge pull request #1634 from ilovezfs/older-zlib

unzip: fix build with older zlib
pull/1626/head
Kim Kulling 2017-12-13 17:00:13 +01:00 committed by GitHub
commit 6a1d2560ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -41,6 +41,10 @@ woven in by Terry Thorsen 1/2003.
#include "zlib.h"
#include "unzip.h"
#if ZLIB_VERNUM < 0x1270
typedef unsigned long z_crc_t;
#endif
#ifdef STDC
# include <stddef.h>
# include <string.h>