projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
om-watchdog: add support for Teltonika RUT5xx (ramips)
[openwrt/openwrt.git]
/
tools
/
include
/
byteswap.h
diff --git
a/tools/include/byteswap.h
b/tools/include/byteswap.h
index 61047167c3df957690496d22360d3d8de142c33d..015f09740ad6af7d0a2da4185e1532e0097f4196 100644
(file)
--- a/
tools/include/byteswap.h
+++ b/
tools/include/byteswap.h
@@
-1,3
+1,5
@@
-#if
def __linux__
+#if
defined(__linux__) || defined(__CYGWIN__)
#include_next <byteswap.h>
+#else
+#include <endian.h>
#endif