From f35e380dd240b418e17a179af73bbab74ceea784 Mon Sep 17 00:00:00 2001 From: "Anthony G. Basile" Date: Tue, 24 Jul 2012 12:59:54 -0700 Subject: Fix compile time errors when building against uclibc Mesa misses a few checks when compiling on a uclibc system which cause it to fall back on glibc-ism. This patch addresses those issues. Acked-by: Kenneth Graunke Reviewed-by: Matt Turner Signed-off-by: Anthony G. Basile --- src/gallium/auxiliary/util/u_debug_symbol.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gallium/auxiliary/util/u_debug_symbol.c') diff --git a/src/gallium/auxiliary/util/u_debug_symbol.c b/src/gallium/auxiliary/util/u_debug_symbol.c index bae9be87a26..3d2f8ebc31b 100644 --- a/src/gallium/auxiliary/util/u_debug_symbol.c +++ b/src/gallium/auxiliary/util/u_debug_symbol.c @@ -152,7 +152,9 @@ debug_symbol_name_dbghelp(const void *addr, char* buf, unsigned size) #endif #ifdef __GLIBC__ +#ifndef __UCLIBC__ #include +#endif /* This can only provide dynamic symbols, or binary offsets into a file. * -- cgit v1.2.3