Commit a9185589f9416c18628e2d1309b215077c5712b1

Carlos Martín Nieto 2014-06-11T18:03:37

zlib: add a few missing defines

diff --git a/deps/zlib/zconf.h b/deps/zlib/zconf.h
index 1508143..e87f145 100644
--- a/deps/zlib/zconf.h
+++ b/deps/zlib/zconf.h
@@ -33,10 +33,12 @@
 #	define FAR
 #endif
 #define OF(args)  args
+#define Z_ARG(args) args
 
 typedef unsigned char  Byte;  /* 8 bits */
 typedef unsigned int   uInt;  /* 16 bits or more */
 typedef unsigned long  uLong; /* 32 bits or more */
+typedef unsigned long z_crc_t;
 
 typedef Byte  FAR Bytef;
 typedef char  FAR charf;
@@ -50,5 +52,6 @@ typedef void       *voidp;
 
 #define z_off_t git_off_t
 #define z_off64_t z_off_t
+#define z_const const
 
 #endif /* ZCONF_H */