summaryrefslogtreecommitdiffstats
path: root/src/util/u_endian.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/u_endian.h')
-rw-r--r--src/util/u_endian.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/u_endian.h b/src/util/u_endian.h
index aae3e5a..b9d563d 100644
--- a/src/util/u_endian.h
+++ b/src/util/u_endian.h
@@ -27,7 +27,7 @@
#ifndef U_ENDIAN_H
#define U_ENDIAN_H
-#ifdef __GLIBC__
+#if defined(__GLIBC__) || defined(ANDROID)
#include <endian.h>
#if __BYTE_ORDER == __LITTLE_ENDIAN