aboutsummaryrefslogtreecommitdiff
path: root/iemlib2/src
diff options
context:
space:
mode:
Diffstat (limited to 'iemlib2/src')
-rw-r--r--iemlib2/src/iemlib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/iemlib2/src/iemlib.h b/iemlib2/src/iemlib.h
index af3af5c..ac1ffce 100644
--- a/iemlib2/src/iemlib.h
+++ b/iemlib2/src/iemlib.h
@@ -56,11 +56,11 @@ extern int sys_noloadbang;
#define int32 long
#endif /* MSW */
-#if defined(__FreeBSD__) || defined(__APPLE__)
+#if defined(__FreeBSD__) || defined(__APPLE__) || defined(__FreeBSD_kernel__)
#include <machine/endian.h>
#endif
-#ifdef __linux__
+#if defined(__linux__) || defined(__CYGWIN__) || defined(__GNU__) || defined(ANDROID)
#include <endian.h>
#endif