diff options
Diffstat (limited to 'www/libxul/files/patch-xpcom_base_nsStackWalk.cpp')
-rw-r--r-- | www/libxul/files/patch-xpcom_base_nsStackWalk.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/www/libxul/files/patch-xpcom_base_nsStackWalk.cpp b/www/libxul/files/patch-xpcom_base_nsStackWalk.cpp index 3485b1509ad1..76a5dc8b9f7c 100644 --- a/www/libxul/files/patch-xpcom_base_nsStackWalk.cpp +++ b/www/libxul/files/patch-xpcom_base_nsStackWalk.cpp @@ -9,3 +9,11 @@ #include <dlfcn.h> #endif +@@ -1123,6 +1123,7 @@ NS_StackWalk(NS_WalkStackCallback aCallb + + #elif defined(HAVE__UNWIND_BACKTRACE) + ++#define _GNU_SOURCE + // libgcc_s.so symbols _Unwind_Backtrace@@GCC_3.3 and _Unwind_GetIP@@GCC_3.0 + #include <unwind.h> + |