diff options
| author | pgmassey <pgmassey0@gmail.com> | 2014-07-25 14:58:53 -0400 |
|---|---|---|
| committer | Brent Cook <bcook@openbsd.org> | 2014-07-29 11:17:18 -0500 |
| commit | 02ad0041c4f055c541be15ce3f4df9fd65236004 (patch) | |
| tree | c98762a2715008286d01d7ca394f694bd4ee7e65 /include | |
| parent | 981fc3618a78970cca6327666366a7056edd3ebf (diff) | |
| download | portable-02ad0041c4f055c541be15ce3f4df9fd65236004.tar.gz portable-02ad0041c4f055c541be15ce3f4df9fd65236004.tar.bz2 portable-02ad0041c4f055c541be15ce3f4df9fd65236004.zip | |
Update endian.h for AIX/IRIX
Added AIX/IRIX compatibility for endian detection.
ok bcook@ deraadt@ beck@
Diffstat (limited to 'include')
| -rw-r--r-- | include/machine/endian.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/machine/endian.h b/include/machine/endian.h index 302d29e..613c026 100644 --- a/include/machine/endian.h +++ b/include/machine/endian.h | |||
| @@ -22,6 +22,14 @@ | |||
| 22 | #elif defined(__sun) | 22 | #elif defined(__sun) |
| 23 | #include <arpa/nameser_compat.h> | 23 | #include <arpa/nameser_compat.h> |
| 24 | 24 | ||
| 25 | #elif defined(_AIX) | ||
| 26 | #include <sys/types.h> | ||
| 27 | #include <arpa/nameser_compat.h> | ||
| 28 | |||
| 29 | #elif defined(__sgi) | ||
| 30 | #include <standards.h> | ||
| 31 | #include <sys/endian.h> | ||
| 32 | |||
| 25 | #else | 33 | #else |
| 26 | #include_next <machine/endian.h> | 34 | #include_next <machine/endian.h> |
| 27 | 35 | ||
