diff --git a/include/common.h b/include/common.h index c63d15aa7..7f3cf270b 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 2cc6d9f88..2eb609730 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;