summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utils/fake_libc_include/zlib.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/utils/fake_libc_include/zlib.h b/utils/fake_libc_include/zlib.h
index f952c1d..5705411 100644
--- a/utils/fake_libc_include/zlib.h
+++ b/utils/fake_libc_include/zlib.h
@@ -1,2 +1,33 @@
+#ifndef ZLIB_H
+#define ZLIB_H
+
#include "_fake_defines.h"
#include "_fake_typedefs.h"
+
+typedef int uInt;
+typedef int uLong;
+#if !defined(__MACTYPES__)
+typedef int Byte;
+#endif
+
+typedef int Bytef;
+typedef int charf;
+typedef int intf;
+typedef int uIntf;
+typedef int uLongf;
+
+typedef int voidpc;
+typedef int voidpf;
+typedef int voidp;
+
+#if !defined(Z_U4) && !defined(Z_SOLO) && defined(STDC)
+#define Z_U4 int
+#endif
+
+typedef int z_crc_t;
+typedef int z_size_t;
+
+typedef int alloc_func;
+typedef int free_func;
+
+#endif