diff options
author | Brent Cook <busterb@gmail.com> | 2014-07-10 06:21:51 -0500 |
---|---|---|
committer | Brent Cook <busterb@gmail.com> | 2014-07-10 06:22:54 -0500 |
commit | 2b6dbc39ef274d5298daad1ff864be8fc3c56537 (patch) | |
tree | bed05f6232bad0278f952bcfa173c50c202f4309 /include/machine | |
parent | e9eff5016a4ec2153c037c1b888acd2755965755 (diff) | |
download | portable-2b6dbc39ef274d5298daad1ff864be8fc3c56537.tar.gz portable-2b6dbc39ef274d5298daad1ff864be8fc3c56537.tar.bz2 portable-2b6dbc39ef274d5298daad1ff864be8fc3c56537.zip |
initial top-level import of subdirectories
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 | ||