summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2016-09-12 11:21:29 +1000
committerDave Airlie <airlied@redhat.com>2016-09-13 10:04:13 +1000
commit0fe9152868fd7429aca63c58a0930542b8a95219 (patch)
treec8d0de2d543a15a672b0559c1e8aa1dc9d84b0c9
parent24be6306609179efddfb7e5cc6ec5d6a335c9b88 (diff)
downloadexternal_mesa3d-0fe9152868fd7429aca63c58a0930542b8a95219.zip
external_mesa3d-0fe9152868fd7429aca63c58a0930542b8a95219.tar.gz
external_mesa3d-0fe9152868fd7429aca63c58a0930542b8a95219.tar.bz2
u_endian: add android to glibc clause
Tested-by: Mauro Rossi <issor.oruam@gmail.com>
-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