diff options
Diffstat (limited to 'include/machine')
| -rw-r--r-- | include/machine/endian.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/include/machine/endian.h b/include/machine/endian.h index 7e59bcd..80b3f9c 100644 --- a/include/machine/endian.h +++ b/include/machine/endian.h | |||
| @@ -19,10 +19,7 @@ | |||
| 19 | #elif defined(__linux__) | 19 | #elif defined(__linux__) |
| 20 | #include <endian.h> | 20 | #include <endian.h> |
| 21 | 21 | ||
| 22 | #elif defined(__sun) | 22 | #elif defined(__sun) || defined(_AIX) || defined(__hpux) |
| 23 | #include <arpa/nameser_compat.h> | ||
| 24 | |||
| 25 | #elif defined(_AIX) | ||
| 26 | #include <sys/types.h> | 23 | #include <sys/types.h> |
| 27 | #include <arpa/nameser_compat.h> | 24 | #include <arpa/nameser_compat.h> |
| 28 | 25 | ||
| @@ -30,9 +27,6 @@ | |||
| 30 | #include <standards.h> | 27 | #include <standards.h> |
| 31 | #include <sys/endian.h> | 28 | #include <sys/endian.h> |
| 32 | 29 | ||
| 33 | #elif defined(__hpux) | ||
| 34 | #include <arpa/nameser_compat.h> | ||
| 35 | |||
| 36 | #else | 30 | #else |
| 37 | #include_next <machine/endian.h> | 31 | #include_next <machine/endian.h> |
| 38 | 32 | ||
