mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-22 08:08:10 +00:00
fix compilation with FreeBSD
FreeBSD is checked for in two places and two duplicate functions are used. Just use the former. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
1636bc41df
commit
147ec30fd6
@ -490,7 +490,7 @@ int tty_fix ()
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined (__APPLE__) || defined (__FreeBSD__)
|
||||
#if defined (__APPLE__)
|
||||
static struct termios savemodes;
|
||||
static int havemodes = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user