diff --git a/client.c b/client.c index 2d4a93b5..0c9f9cba 100644 --- a/client.c +++ b/client.c @@ -25,6 +25,7 @@ #include #include +#include #include #include #include diff --git a/tty.c b/tty.c index e17a134d..7688e90b 100644 --- a/tty.c +++ b/tty.c @@ -193,7 +193,7 @@ tty_init_termios(int fd, struct termios *orig_tio, struct bufferevent *bufev) tio.c_iflag |= IGNBRK; tio.c_oflag &= ~(OPOST|ONLCR|OCRNL|ONLRET); tio.c_lflag &= ~(IEXTEN|ICANON|ECHO|ECHOE|ECHONL|ECHOCTL| - ECHOPRT|ECHOKE|ECHOCTL|ISIG); + ECHOPRT|ECHOKE|ISIG); tio.c_cc[VMIN] = 1; tio.c_cc[VTIME] = 0; if (tcsetattr(fd, TCSANOW, &tio) == 0)