aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-01-20 01:59:47 +0000
committerrsc <devnull@localhost>2004-01-20 01:59:47 +0000
commit97fdda4e861f7f66c707d32443f3d8461594b9a5 (patch)
treec348f236ca25a752ba49c4d9800168870e34c752
parent03480d733369315ada5b35733796e786c807d3c1 (diff)
downloadplan9port-97fdda4e861f7f66c707d32443f3d8461594b9a5.tar.gz
plan9port-97fdda4e861f7f66c707d32443f3d8461594b9a5.tar.bz2
plan9port-97fdda4e861f7f66c707d32443f3d8461594b9a5.zip
need pty.h on linux according to scott schwartz
-rw-r--r--src/cmd/9term/9term.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cmd/9term/9term.h b/src/cmd/9term/9term.h
index 24536752..705648aa 100644
--- a/src/cmd/9term/9term.h
+++ b/src/cmd/9term/9term.h
@@ -9,6 +9,10 @@
#include <frame.h>
#include <plumb.h>
#include <termios.h>
+#include <sys/termios.h>
+#ifdef __linux__
+#include <pty.h>
+#endif
#define fatal sysfatal