4cf60e
diff -up mozilla-beta/xpcom/threads/ThreadStackHelper.cpp.rt-tgsigqueueinfo mozilla-beta/xpcom/threads/ThreadStackHelper.cpp
4cf60e
--- mozilla-beta/xpcom/threads/ThreadStackHelper.cpp.rt-tgsigqueueinfo	2015-04-16 23:45:29.000000000 +0200
4cf60e
+++ mozilla-beta/xpcom/threads/ThreadStackHelper.cpp	2015-04-22 09:10:25.291166226 +0200
4cf60e
@@ -240,10 +240,13 @@ ThreadStackHelper::GetStack(Stack& aStac
4cf60e
   uinfo.si_pid = getpid();
4cf60e
   uinfo.si_uid = getuid();
4cf60e
   uinfo.si_value.sival_ptr = this;
4cf60e
+#ifdef SYS_rt_tgsigqueueinfo
4cf60e
   if (::syscall(SYS_rt_tgsigqueueinfo, uinfo.si_pid,
4cf60e
-                mThreadID, sFillStackSignum, &uinfo)) {
4cf60e
+                mThreadID, sFillStackSignum, &uinfo))
4cf60e
     // rt_tgsigqueueinfo was added in Linux 2.6.31.
4cf60e
     // Could have failed because the syscall did not exist.
4cf60e
+#endif
4cf60e
+  {
4cf60e
     return;
4cf60e
   }
4cf60e
   MOZ_ALWAYS_TRUE(!::sem_wait(&mSem));