projects
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe8d052
)
tools: include endian.h from byteswap.h to ensure that bswap_* is available
author
nbd
<nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 6 Jul 2013 14:49:08 +0000
(14:49 +0000)
committer
nbd
<nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 6 Jul 2013 14:49:08 +0000
(14:49 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37183
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
tools/include/byteswap.h
patch
|
blob
|
history
diff --git
a/tools/include/byteswap.h
b/tools/include/byteswap.h
index
fe279ce
..
015f097
100644
(file)
--- a/
tools/include/byteswap.h
+++ b/
tools/include/byteswap.h
@@
-1,3
+1,5
@@
#if defined(__linux__) || defined(__CYGWIN__)
#include_next <byteswap.h>
+#else
+#include <endian.h>
#endif