diff options
author | Ben Huntsman <BHuntsman@mail2.cu-portland.edu> | 2020-05-04 19:53:21 -0700 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2020-05-07 20:36:03 -0400 |
commit | 5802b09e9d8ceadd2cefdccfd0391c04e492369b (patch) | |
tree | 0e8100529a19560216ffa3dd6ac077fe390ced34 /src/cmd | |
parent | f84d54a0337f9e101c8baeb51272f33b05b2a0e1 (diff) | |
download | plan9port-5802b09e9d8ceadd2cefdccfd0391c04e492369b.tar.gz plan9port-5802b09e9d8ceadd2cefdccfd0391c04e492369b.tar.bz2 plan9port-5802b09e9d8ceadd2cefdccfd0391c04e492369b.zip |
all: fix #includes for AIX, add a few AIX "implementation" files
Diffstat (limited to 'src/cmd')
-rw-r--r-- | src/cmd/9term/AIX.c | 2 | ||||
-rw-r--r-- | src/cmd/9term/bsdpty.c | 2 | ||||
-rw-r--r-- | src/cmd/auxstats/AIX.c | 9 | ||||
-rw-r--r-- | src/cmd/draw/mc.c | 3 | ||||
-rw-r--r-- | src/cmd/vbackup/mount-AIX.c | 1 |
5 files changed, 17 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 diff --git a/src/cmd/auxstats/AIX.c b/src/cmd/auxstats/AIX.c new file mode 100644 index 00000000..33ebdedc --- /dev/null +++ b/src/cmd/auxstats/AIX.c @@ -0,0 +1,9 @@ +#include <u.h> +#include <libc.h> +#include <bio.h> +#include "dat.h" + +void (*statfn[])(int) = +{ + 0 +}; diff --git a/src/cmd/draw/mc.c b/src/cmd/draw/mc.c index ee112194..f1bcc82a 100644 --- a/src/cmd/draw/mc.c +++ b/src/cmd/draw/mc.c @@ -9,7 +9,10 @@ */ #include <u.h> #include <sys/ioctl.h> +#include <termios.h> +#ifdef HAS_SYS_TERMIOS #include <sys/termios.h> +#endif #include <libc.h> #include <draw.h> #include <bio.h> diff --git a/src/cmd/vbackup/mount-AIX.c b/src/cmd/vbackup/mount-AIX.c new file mode 100644 index 00000000..3dde4fdf --- /dev/null +++ b/src/cmd/vbackup/mount-AIX.c @@ -0,0 +1 @@ +#include "mount-none.c" |