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 /include/u.h | |
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 'include/u.h')
-rw-r--r-- | include/u.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/u.h b/include/u.h index 137b6161..10fc7257 100644 --- a/include/u.h +++ b/include/u.h @@ -6,6 +6,8 @@ extern "C" { #endif +#define HAS_SYS_TERMIOS 1 + #define __BSD_VISIBLE 1 /* FreeBSD 5.x */ #if defined(__sun__) # define __EXTENSIONS__ 1 /* SunOS */ @@ -34,6 +36,8 @@ extern "C" { #endif #if defined(__AIX__) # define _XOPEN_SOURCE 600 +# define _ALL_SOURCE +# undef HAS_SYS_TERMIOS #endif #if defined(__APPLE__) # define _DARWIN_NO_64_BIT_INODE /* Snow Leopard */ |