mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-22 08:08:10 +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 <sys/time.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
#include <zlib.h>
|
||||||
// workaround to get the rid of "redefinition of typedef 'Byte'" build warning
|
|
||||||
#if !defined (__APPLE__)
|
|
||||||
#include "zlib.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if !defined(__MACTYPES__)
|
#if !defined(__MACTYPES__)
|
||||||
#define __MACTYPES__
|
#define __MACTYPES__
|
||||||
|
Loading…
Reference in New Issue
Block a user