freebsd-ports/mail/thunderbird/files/patch-mozilla-xpcom-base-nsStackWalk.cpp
Beat Gaetzi 742c7aa805 - Update to 3.1.5
- Unbreak with recent versions of GCC [1]

Submitted by:	Andriy Gapon <avg AT icyb.net.ua> [1]
Security:	http://www.vuxml.org/freebsd/c4f067b9-dc4a-11df-8e32-000f20797ede.html
2010-10-20 17:01:29 +00:00

10 lines
438 B
C++

--- mozilla/xpcom/base/nsStackWalk.cpp.orig 2010-09-12 19:34:04.012503905 +0300
+++ mozilla/xpcom/base/nsStackWalk.cpp 2010-09-12 19:34:41.294462134 +0300
@@ -41,6 +41,7 @@
/* API for getting a stack trace of the C/C++ stack on the current thread */
#include "nsStackWalk.h"
+#include <dlfcn.h>
#if defined(_WIN32) && (defined(_M_IX86) || defined(_M_AMD64) || defined(_M_IA64)) && !defined(WINCE) // WIN32 x86 stack walking code