screen.c | 6 ++++++
1 file changed, 6 insertions(+)
--- kterm-6.2.0.orig/screen.c
+++ kterm-6.2.0/screen.c
@@ -37,8 +37,12 @@
#if defined(SVR4) || defined(hpux)
#include <termios.h>
#else
+#if defined(linux)
+#include <asm/termios.h>
+#else
#include <sys/ioctl.h>
#endif
+#endif
#ifdef att
#include <sys/termio.h>
@@ -46,7 +50,9 @@
#include <sys/ptem.h>
#endif
+#if !((__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1))
extern Char *calloc(), *malloc(), *realloc();
+#endif
extern void free();
ScrnBuf Allocate (nrow, ncol, addr)