diff options
-rw-r--r-- | src/gallium/auxiliary/util/u_debug.h | 1 | ||||
-rw-r--r-- | src/glsl/strtod.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_debug.h b/src/gallium/auxiliary/util/u_debug.h index 06470f6..583984f 100644 --- a/src/gallium/auxiliary/util/u_debug.h +++ b/src/gallium/auxiliary/util/u_debug.h @@ -39,6 +39,7 @@ #define U_DEBUG_H_ +#include <assert.h> #include "os/os_misc.h" diff --git a/src/glsl/strtod.c b/src/glsl/strtod.c index 47c1f0e..e34bc9a 100644 --- a/src/glsl/strtod.c +++ b/src/glsl/strtod.c @@ -45,7 +45,7 @@ double glsl_strtod(const char *s, char **end) { #if defined(_GNU_SOURCE) && !defined(__CYGWIN__) && !defined(__FreeBSD__) && \ - !defined(__HAIKU__) && !defined(__UCLIBC__) + !defined(__HAIKU__) && !defined(__UCLIBC__) && !defined(ANDROID) static locale_t loc = NULL; if (!loc) { loc = newlocale(LC_CTYPE_MASK, "C", NULL); |