diff options
author | Dave Airlie <[email protected]> | 2016-09-12 11:21:29 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2016-09-13 10:04:13 +1000 |
commit | 0fe9152868fd7429aca63c58a0930542b8a95219 (patch) | |
tree | c8d0de2d543a15a672b0559c1e8aa1dc9d84b0c9 /src | |
parent | 24be6306609179efddfb7e5cc6ec5d6a335c9b88 (diff) |
u_endian: add android to glibc clause
Tested-by: Mauro Rossi <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/util/u_endian.h | 2 |
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 |