diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/nyancat.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/nyancat.c b/src/nyancat.c index 68d43f2..207bcd0 100644 --- a/src/nyancat.c +++ b/src/nyancat.c @@ -59,6 +59,13 @@ #include <setjmp.h> #include <sys/ioctl.h> +#ifndef TIOCGWINSZ +#include <termios.h> +#ifdef ECHO +#undef ECHO +#endif +#endif + /* * telnet.h contains some #defines for the various * commands, escape characters, and modes for telnet. |