Updated #include's to point to new location of mts.h on mts/generic
[mmh] / uip / termsbr.c
index 77af468..556158d 100644 (file)
 # include <termcap.h>
 #endif
 
+/* <sys/ioctl.h> is need anyway for ioctl()
 #ifdef GWINSZ_IN_SYS_IOCTL
+*/
 # include <sys/ioctl.h>
+/*
 #endif
+*/
+
 #ifdef WINSIZE_IN_PTEM
 # include <sys/stream.h>
 # include <sys/ptem.h>
@@ -170,7 +175,7 @@ sc_length (void)
 static int
 outc (int c)
 {
-    putchar(c);
+    return putchar(c);
 }