1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-21 23:58:07 +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:
Rosen Penev 2023-07-09 16:53:42 -07:00
parent 147ec30fd6
commit 88347540f3
No known key found for this signature in database
GPG Key ID: 36D31CFA845F0E3B

View File

@ -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__