diff --git a/src/common/memgzio.h b/src/common/memgzio.h index 90a3963d..82882da9 100644 --- a/src/common/memgzio.h +++ b/src/common/memgzio.h @@ -21,4 +21,13 @@ int ZEXPORT memgzclose(gzFile file); long ZEXPORT memtell(gzFile file); z_off_t ZEXPORT memgzseek(gzFile file, z_off_t off, int whence); +// Newer version of zlib dropped gzio support +#ifndef OF /* function prototypes */ +# ifdef STDC +# define OF(args) args +# else +# define OF(args) () +# endif +#endif + #endif // MEMGZIO_H