projects
/
openwrt
/
staging
/
dangole.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09551cd
)
tools: include endian.h from byteswap.h to ensure that bswap_* is available
author
Felix Fietkau
<nbd@openwrt.org>
Sat, 6 Jul 2013 14:49:08 +0000
(14:49 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sat, 6 Jul 2013 14:49:08 +0000
(14:49 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37183
tools/include/byteswap.h
patch
|
blob
|
history
diff --git
a/tools/include/byteswap.h
b/tools/include/byteswap.h
index fe279ceb2c040de1e07e40e979282f50a9ddaf39..015f09740ad6af7d0a2da4185e1532e0097f4196 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