--- misc/unzip.h.old 2011-09-23 19:53:09.708884325 +0200 +++ misc/unzip.h 2011-09-23 19:54:00.012878355 +0200 @@ -49,6 +49,10 @@ #include "zlib.h" #endif +#ifndef OF +#define OF(x) x +#endif + #if defined(STRICTUNZIP) || defined(STRICTZIPUNZIP) /* like the STRICT of WIN32, we define a pointer that cannot be converted from (void*) without cast */ --- libdiscmage/unzip.h.old 2011-09-23 19:59:47.319837133 +0200 +++ libdiscmage/unzip.h 2011-09-23 20:00:07.230834769 +0200 @@ -48,6 +48,9 @@ #ifndef _ZLIB_H #include "zlib.h" #endif +#ifndef OF +#define OF(x) x +#endif #if defined(STRICTUNZIP) || defined(STRICTZIPUNZIP) /* like the STRICT of WIN32, we define a pointer that cannot be converted --- libdiscmage/misc_z.c.old 2012-03-19 08:39:41.975022496 +0100 +++ libdiscmage/misc_z.c 2012-03-19 08:40:13.109803301 +0100 @@ -27,6 +27,7 @@ #include #include #include +#define Z_SOLO #include #include "misc_z.h" #include "misc.h" --- misc/archive.c.old 2012-03-19 08:41:06.478999810 +0100 +++ misc/archive.c 2012-03-19 08:41:24.134741668 +0100 @@ -27,6 +27,7 @@ #include #include #include +#define Z_SOLO #include #ifdef HAVE_BYTESWAP_H #include