Fixed warnigs from zlib defines

This commit is contained in:
Andrey Kamaev
2012-06-21 10:28:57 +00:00
parent 3af92a9d92
commit 25f70e691a
3 changed files with 20 additions and 4 deletions

View File

@@ -59,7 +59,14 @@ typedef void* gzFile;
#endif
#if USE_ZLIB
#include <zlib.h>
# undef HAVE_UNISTD_H //to avoid redefinition
# ifndef _LFS64_LARGEFILE
# define _LFS64_LARGEFILE 0
# endif
# ifndef _FILE_OFFSET_BITS
# define _FILE_OFFSET_BITS 0
# endif
# include <zlib.h>
#endif
/****************************************************************************************\