summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--byterun/terminfo.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/byterun/terminfo.c b/byterun/terminfo.c
index 83b5ba225..cf6174226 100644
--- a/byterun/terminfo.c
+++ b/byterun/terminfo.c
@@ -21,12 +21,10 @@
#ifdef HAS_TERMCAP
-#ifdef __linux__
-#include <termios.h>
-#endif
-#define _BSD /* For DEC OSF1 */
-#undef getch
-#include <curses.h>
+extern int tgetent P((char * buffer, char * name));
+extern int tgetstr P((char * id, char ** area));
+extern int tgetnum P((char * id));
+extern int tputs P((char * str, int count, int (*outchar)(int c)));
value terminfo_setup(unit) /* ML */
value unit;