aboutsummaryrefslogtreecommitdiffstats
path: root/testing/seamonkey/fix-platform-linux.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/seamonkey/fix-platform-linux.patch')
-rw-r--r--testing/seamonkey/fix-platform-linux.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/seamonkey/fix-platform-linux.patch b/testing/seamonkey/fix-platform-linux.patch
new file mode 100644
index 0000000000..f9e3192906
--- /dev/null
+++ b/testing/seamonkey/fix-platform-linux.patch
@@ -0,0 +1,13 @@
+--- seamonkey-2.39/mozilla/tools/profiler/core/platform-linux.cc.orig
++++ seamonkey-2.39/mozilla/tools/profiler/core/platform-linux.cc
+@@ -98,6 +98,10 @@
+
+ #define SIGNAL_SAVE_PROFILE SIGUSR2
+
++#ifndef gettid
++#define gettid() syscall(SYS_gettid)
++#endif
++
+ using namespace mozilla;
+
+ #if defined(USE_LUL_STACKWALK)