Fixes uclibc build as uclibc does not include backtrace functionality Signed-of-by: Spenser Gilliland ---- Index: webkit-1.9.6/Source/WTF/wtf/Assertions.cpp =================================================================== --- webkit-1.9.6.orig/Source/WTF/wtf/Assertions.cpp +++ webkit-1.9.6/Source/WTF/wtf/Assertions.cpp @@ -61,8 +61,10 @@ #if (OS(DARWIN) || OS(LINUX)) && !OS(ANDROID) #include #include +#if !defined(__UCLIBC__) #include #endif +#endif #if OS(ANDROID) #include "android/log.h" @@ -268,7 +270,7 @@ void WTFReportArgumentAssertionFailure(c void WTFGetBacktrace(void** stack, int* size) { -#if (OS(DARWIN) || OS(LINUX)) && !OS(ANDROID) +#if (OS(DARWIN) || OS(LINUX)) && !OS(ANDROID) && !defined(__UCLIBC__) *size = backtrace(stack, *size); #elif OS(WINDOWS) && !OS(WINCE) // The CaptureStackBackTrace function is available in XP, but it is not defined