summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2016-09-12 11:21:29 +1000
committerDave Airlie <[email protected]>2016-09-13 10:04:13 +1000
commit0fe9152868fd7429aca63c58a0930542b8a95219 (patch)
treec8d0de2d543a15a672b0559c1e8aa1dc9d84b0c9
parent24be6306609179efddfb7e5cc6ec5d6a335c9b88 (diff)
u_endian: add android to glibc clause
Tested-by: Mauro Rossi <[email protected]>
-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 aae3e5a958f..b9d563dd435 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