aboutsummaryrefslogtreecommitdiffstats
path: root/tools/include/endian.h
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-04-14 14:54:34 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-04-14 14:54:34 +0000
commitb8e09787fac3a13854e53e3a7a6707d39563ae68 (patch)
tree3eb743e2a7927e7becd57c53629133cf5f22ed18 /tools/include/endian.h
parentbda5e955744bf3997870c921efba90bea6f60118 (diff)
downloadupstream-b8e09787fac3a13854e53e3a7a6707d39563ae68.tar.gz
upstream-b8e09787fac3a13854e53e3a7a6707d39563ae68.tar.bz2
upstream-b8e09787fac3a13854e53e3a7a6707d39563ae68.zip
more cygwin related build fixes
SVN-Revision: 15227
Diffstat (limited to 'tools/include/endian.h')
-rw-r--r--tools/include/endian.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/include/endian.h b/tools/include/endian.h
index 25d100de32..0f17b41da7 100644
--- a/tools/include/endian.h
+++ b/tools/include/endian.h
@@ -1,7 +1,7 @@
#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__)