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
commitc589671d129135b59cda5bdb4f9212506a718337 (patch)
treeee37be750da98c6c1674de6125b90a74ce0b9c89 /tools/include/endian.h
parent4c407b15c68005b90ca22529b4a8b725b01a744f (diff)
downloadupstream-c589671d129135b59cda5bdb4f9212506a718337.tar.gz
upstream-c589671d129135b59cda5bdb4f9212506a718337.tar.bz2
upstream-c589671d129135b59cda5bdb4f9212506a718337.zip
[tools] more cygwin related build fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15227 3c298f89-4303-0410-b956-a3cf2f4a3e73
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__)