diff options
author | Petter Rodhelind <petter.rodhelind@gmail.com> | 2020-06-18 23:57:51 +0200 |
---|---|---|
committer | Petter Rodhelind <petter.rodhelind@gmail.com> | 2020-06-18 23:57:51 +0200 |
commit | 7cda34cf34f3afbd3f2000aa5e2b59ddc319f0f2 (patch) | |
tree | ff18b856a35c80a9cc40573c76899d8a468bedc5 /src/cmd/9term | |
parent | ea23656f7c3afcfd8516b00c0db09879ae80a09f (diff) | |
parent | 329831171dd6ef81c113f101093c7b4947381003 (diff) | |
download | plan9port-7cda34cf34f3afbd3f2000aa5e2b59ddc319f0f2.tar.gz plan9port-7cda34cf34f3afbd3f2000aa5e2b59ddc319f0f2.tar.bz2 plan9port-7cda34cf34f3afbd3f2000aa5e2b59ddc319f0f2.zip |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'src/cmd/9term')
-rw-r--r-- | src/cmd/9term/AIX.c | 2 | ||||
-rw-r--r-- | src/cmd/9term/bsdpty.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/cmd/9term/AIX.c b/src/cmd/9term/AIX.c new file mode 100644 index 00000000..b7ccbf0f --- /dev/null +++ b/src/cmd/9term/AIX.c @@ -0,0 +1,2 @@ +#define TIOCSCTTY 0x540E +#include "bsdpty.c" diff --git a/src/cmd/9term/bsdpty.c b/src/cmd/9term/bsdpty.c index d64e4c2f..3710a18d 100644 --- a/src/cmd/9term/bsdpty.c +++ b/src/cmd/9term/bsdpty.c @@ -5,7 +5,9 @@ #include <errno.h> #include <grp.h> #include <termios.h> +#ifdef HAS_SYS_TERMIOS #include <sys/termios.h> +#endif #ifdef __linux__ #include <pty.h> #endif |