include zlib.h

Various types included in zlib.h such as gzFile are implicitly included
with minizip. Get rid of this behavior and explicitly include zlib.h.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
pull/3793/head
Rosen Penev 10 months ago
parent 147ec30fd6
commit 88347540f3
No known key found for this signature in database
GPG Key ID: 36D31CFA845F0E3B

@ -17,11 +17,7 @@
#include <sys/time.h>
#include <unistd.h>
#include <math.h>
// workaround to get the rid of "redefinition of typedef 'Byte'" build warning
#if !defined (__APPLE__)
#include "zlib.h"
#endif
#include <zlib.h>
#if !defined(__MACTYPES__)
#define __MACTYPES__

Loading…
Cancel
Save