summaryrefslogtreecommitdiff
path: root/www/firefox-esr/files/patch-xpcom_base_nsStackWalk.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'www/firefox-esr/files/patch-xpcom_base_nsStackWalk.cpp')
-rw-r--r--www/firefox-esr/files/patch-xpcom_base_nsStackWalk.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/www/firefox-esr/files/patch-xpcom_base_nsStackWalk.cpp b/www/firefox-esr/files/patch-xpcom_base_nsStackWalk.cpp
index d9956b6852c3..32c3073071ff 100644
--- a/www/firefox-esr/files/patch-xpcom_base_nsStackWalk.cpp
+++ b/www/firefox-esr/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>
+