patch-tools_profiler_core_platform-linux_cc 481 B

1234567891011
  1. --- firefox-42.0.orig/tools/profiler/core/platform-linux.cc 2015-10-29 23:18:01.000000000 +0100
  2. +++ firefox-42.0/tools/profiler/core/platform-linux.cc 2015-12-17 05:41:35.091485672 +0100
  3. @@ -57,7 +57,7 @@
  4. #include <fcntl.h> // open
  5. #include <unistd.h> // sysconf
  6. #include <semaphore.h>
  7. -#ifdef __GLIBC__
  8. +#if defined(__GLIBC__) && !defined(__UCLIBC__)
  9. #include <execinfo.h> // backtrace, backtrace_symbols
  10. #endif // def __GLIBC__
  11. #include <strings.h> // index