summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Joye <joye@localhost.localdomain>2019-05-13 20:22:21 (GMT)
committerWilliam Joye <joye@localhost.localdomain>2019-05-13 20:22:21 (GMT)
commit7ab7fc58df530bd81f773e2fd134923b82a13b4e (patch)
tree41e00653cbd83a7d3d399977e4097a48bdfc15d0
parent4237f4370f6c065bff99581a266404640800643f (diff)
downloadblt-7ab7fc58df530bd81f773e2fd134923b82a13b4e.zip
blt-7ab7fc58df530bd81f773e2fd134923b82a13b4e.tar.gz
blt-7ab7fc58df530bd81f773e2fd134923b82a13b4e.tar.bz2
fix z_crc_t issue
-rw-r--r--tclzipfs/tclZipfs.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tclzipfs/tclZipfs.c b/tclzipfs/tclZipfs.c
index 6a28c3d..ae057e6 100644
--- a/tclzipfs/tclZipfs.c
+++ b/tclzipfs/tclZipfs.c
@@ -33,14 +33,15 @@
#define MAP_FILE 0
#endif /* !MAP_FILE */
+#ifdef HAVE_ZLIB
+#include "zlib.h"
+
#ifdef Z_U4
typedef Z_U4 z_crc_t;
#else
typedef unsigned long z_crc_t;
#endif
-#ifdef HAVE_ZLIB
-#include "zlib.h"
#include "crypt.h"
#ifdef CFG_RUNTIME_DLLFILE