summaryrefslogtreecommitdiff
path: root/package/firefox/patches/patch-xpcom_threads_nsThread_cpp
blob: 0f40d736a5b7b19d29a7c3891e743143810630c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- mozilla-release.orig/xpcom/threads/nsThread.cpp	2013-12-05 17:08:00.000000000 +0100
+++ mozilla-release/xpcom/threads/nsThread.cpp	2014-01-02 14:53:47.000000000 +0100
@@ -23,11 +23,13 @@
                       _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED) &&           \
                       !(_POSIX_C_SOURCE >= 200809L || _XOPEN_SOURCE >= 700)
 
+#include <features.h>
 #if defined(XP_UNIX) && !defined(ANDROID) && !defined(DEBUG) && HAVE_UALARM \
   && defined(_GNU_SOURCE)
-# define MOZ_CANARY
 # include <unistd.h>
+#if !defined(__UCLIBC__)
 # include <execinfo.h>
+#endif
 # include <signal.h>
 # include <fcntl.h>
 # include "nsXULAppAPI.h"