projects
/
oweals
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libelf: get rid of CRLF encoding in the makefile (thx, danimo)
[oweals/openwrt.git]
/
tools
/
include
/
endian.h
diff --git
a/tools/include/endian.h
b/tools/include/endian.h
index 9bfc652b908bf0e6697226bc32366c66beebdfaa..0f17b41da73f50aa21c2a51ac5695862c982db2f 100644
(file)
--- a/
tools/include/endian.h
+++ b/
tools/include/endian.h
@@
-1,7
+1,8
@@
#ifndef __endian_compat_h
#define __endian_compat_h
-#if defined(__linux__)
+#if defined(__linux__) || defined(__CYGWIN__)
+#include <byteswap.h>
#include_next <endian.h>
#elif defined(__APPLE__)
#include <machine/endian.h>