patch-xpcom_threads_nsThread_cpp 649 B

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