1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-22 22:58:30 +00:00

Merge pull request #3793 from neheb/f

compilation fixes
This commit is contained in:
Jens Steube 2023-07-10 19:24:49 +02:00 committed by GitHub
commit 1f462606bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 6 deletions

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__

View File

@ -490,7 +490,7 @@ int tty_fix ()
}
#endif
#if defined (__APPLE__) || defined (__FreeBSD__)
#if defined (__APPLE__)
static struct termios savemodes;
static int havemodes = 0;