patch-xpcom_threads_nsThread_cpp 641 B

1234567891011121314151617
  1. --- mozilla-2.0.orig/xpcom/threads/nsThread.cpp 2011-03-19 00:34:14.000000000 +0100
  2. +++ mozilla-2.0/xpcom/threads/nsThread.cpp 2011-06-15 19:51:07.078202253 +0200
  3. @@ -50,11 +50,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"