diff options
Diffstat (limited to 'include/machine')
| -rw-r--r-- | include/machine/endian.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/machine/endian.h b/include/machine/endian.h new file mode 100644 index 0000000..4d96a6d --- /dev/null +++ b/include/machine/endian.h | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | #ifndef _COMPAT_BYTE_ORDER_H_ | ||
| 2 | #define _COMPAT_BYTE_ORDER_H_ | ||
| 3 | |||
| 4 | #ifdef __linux__ | ||
| 5 | #include <endian.h> | ||
| 6 | #else | ||
| 7 | #ifdef __sun | ||
| 8 | #include <arpa/nameser_compat.h> | ||
| 9 | #else | ||
| 10 | #include_next <machine/endian.h> | ||
| 11 | #endif | ||
| 12 | #endif | ||
| 13 | |||
| 14 | #endif | ||
