From: Jens Steube Date: Thu, 30 Jun 2016 06:24:51 +0000 (+0200) Subject: Merge pull request #394 from f1rebird/master X-Git-Url: https://www.flypig.org.uk/git/?a=commitdiff_plain;h=86f130524635c42a993775a06cac6e1000be4cf5;hp=67a8d97675ce50f6692e17eeb826da604b18cd05;p=hashcat.git Merge pull request #394 from f1rebird/master Make linux-build POSIX compatible --- diff --git a/include/common.h b/include/common.h index c63d15a..7f3cf27 100644 --- a/include/common.h +++ b/include/common.h @@ -41,7 +41,8 @@ #include #ifdef LINUX -#include +#include +#include #endif #ifdef DARWIN diff --git a/src/shared.c b/src/shared.c index 2cc6d9f..2eb6097 100644 --- a/src/shared.c +++ b/src/shared.c @@ -2334,12 +2334,12 @@ void drupal7_encode (u8 digest[64], u8 buf[43]) */ #ifdef LINUX -static struct termio savemodes; +static struct termios savemodes; static int havemodes = 0; int tty_break() { - struct termio modmodes; + struct termios modmodes; if (ioctl (fileno (stdin), TCGETA, &savemodes) < 0) return -1;