projects
/
openwrt
/
staging
/
stintel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tools: add more linux include files to fix x86 build on macos
[openwrt/staging/stintel.git]
/
tools
/
include
/
asm
/
byteorder.h
diff --git a/tools/include/asm/byteorder.h
b/tools/include/asm/byteorder.h
new file mode 100644
(file)
index 0000000..
8e7d779
--- /dev/null
+++ b/
tools/include/asm/byteorder.h
@@ -0,0
+1,12
@@
+#ifndef __ASM_BYTEORDER_H
+#define __ASM_BYTEORDER_H
+
+#include <endian.h>
+
+#if __BYTE_ORDER == __LITTLE_ENDIAN
+#include <linux/byteorder/little_endian.h>
+#else
+#include <linux/byteorder/big_endian.h>
+#endif
+
+#endif