mirror of
https://github.com/hashcat/hashcat.git
synced 2024-12-22 14:48:12 +00:00
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>
This commit is contained in:
parent
147ec30fd6
commit
88347540f3
@ -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…
Reference in New Issue
Block a user