summaryrefslogtreecommitdiffstats
path: root/tools/include/endian.h
diff options
context:
space:
mode:
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__)