mirror of
https://github.com/hashcat/hashcat
synced 2024-11-13 17:28:58 +01:00
add tty handling for FreeBSD
This commit is contained in:
parent
c2bcdbebcb
commit
1a3b610601
@ -52,6 +52,11 @@
|
||||
#include <mach/mach.h>
|
||||
#endif
|
||||
|
||||
#ifdef __FreeBSD__
|
||||
#include <termios.h>
|
||||
#include <sys/ioctl.h>
|
||||
#endif
|
||||
|
||||
typedef void *OCL_LIB;
|
||||
|
||||
#ifdef HAVE_HWMON
|
||||
|
@ -2387,7 +2387,7 @@ int tty_fix()
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef DARWIN
|
||||
#if defined(DARWIN) || defined(__FreeBSD__)
|
||||
static struct termios savemodes;
|
||||
static int havemodes = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user