aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/mc.c
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-03-26 03:45:55 +0000
committerrsc <devnull@localhost>2004-03-26 03:45:55 +0000
commit6b2d0fd94642d4e041bffac34cb79eaf9169760b (patch)
tree9a22a2808815ebce90727bee52afc0ac477b11f9 /src/cmd/mc.c
parenteeb7312231d91d32c561fd9dd07aeed554ba998d (diff)
downloadplan9port-6b2d0fd94642d4e041bffac34cb79eaf9169760b.tar.gz
plan9port-6b2d0fd94642d4e041bffac34cb79eaf9169760b.tar.bz2
plan9port-6b2d0fd94642d4e041bffac34cb79eaf9169760b.zip
Bug fixes from Scott Schwartz.
Try to make 9term not crash when X errors happen.
Diffstat (limited to 'src/cmd/mc.c')
-rw-r--r--src/cmd/mc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmd/mc.c b/src/cmd/mc.c
index ebe8b81c..45e7adf4 100644
--- a/src/cmd/mc.c
+++ b/src/cmd/mc.c
@@ -8,10 +8,11 @@
*
*/
#include <u.h>
+#include <sys/ioctl.h>
+#include <sys/termios.h>
#include <libc.h>
#include <draw.h>
#include <bio.h>
-#include <sys/ioctl.h>
#define WIDTH 80
#define TAB 4