--- Mesa-10.1.0.orig/src/gallium/include/pipe/p_config.h 2014-02-27 02:56:39.000000000 +0100 +++ Mesa-10.1.0/src/gallium/include/pipe/p_config.h 2014-03-14 21:36:14.000000000 +0100 @@ -130,7 +130,7 @@ * Endian detection. */ -#ifdef __GLIBC__ +#ifdef __linux__ #include #if __BYTE_ORDER == __LITTLE_ENDIAN