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