From: Dave Airlie Date: Mon, 12 Sep 2016 01:21:29 +0000 (+1000) Subject: u_endian: add android to glibc clause X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0fe9152868fd7429aca63c58a0930542b8a95219;p=mesa.git u_endian: add android to glibc clause Tested-by: Mauro Rossi --- 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 #if __BYTE_ORDER == __LITTLE_ENDIAN