summaryrefslogtreecommitdiff
path: root/package/firefox/patches/patch-tools_profiler_platform-linux_cc
blob: 10287f11c5ee10ee5fc0ffdca37bc007c93cd401 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- mozilla-release.orig/tools/profiler/platform-linux.cc	2013-09-11 01:15:26.000000000 +0200
+++ mozilla-release/tools/profiler/platform-linux.cc	2013-10-16 10:09:54.000000000 +0200
@@ -53,7 +53,7 @@
 #include <sys/stat.h>   // open
 #include <fcntl.h>      // open
 #include <unistd.h>     // sysconf
-#ifdef __GLIBC__
+#if defined(__GLIBC__) && ! defined(__UCLIBC__)
 #include <execinfo.h>   // backtrace, backtrace_symbols
 #endif  // def __GLIBC__
 #include <strings.h>    // index