aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/nyancat.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/nyancat.c b/src/nyancat.c
index 68d43f2..33f8522 100644
--- a/src/nyancat.c
+++ b/src/nyancat.c
@@ -49,6 +49,7 @@
* WITH THE SOFTWARE.
*/
+#include <ctype.h>
#include <stdio.h>
#include <stdint.h>
#include <string.h>
@@ -59,6 +60,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.
or de-BerlinChristoph Pfister1-5/+4 2011-07-16update scan files for sk-*Christoph Pfister26-42/+143 2011-07-16remove outdated scan files fr-*Christoph Pfister18-272/+0 2011-07-16update scan file us-Cable-Standard-center-frequencies-QAM256Christoph Pfister1-0/+36 2011-06-26update scan file for au-Sydney_North_ShoreChristoph Pfister1-1/+1