freebsd-ports/www/firefox36/files/patch-xpcom_base_nsStackWalk.cpp
Beat Gaetzi 901e6d609d - Unbreak with recent versions of GCC
PR:		ports/142736
Submitted by:	bf <bf1783 AT gmail.com>
2010-08-29 15:17:43 +00:00

11 lines
338 B
C++

--- xpcom/base/nsStackWalk.cpp.orig 2010-01-11 02:11:49.000000000 -0500
+++ xpcom/base/nsStackWalk.cpp 2010-01-11 02:13:26.000000000 -0500
@@ -1132,7 +1132,7 @@
#define __USE_GNU
#endif
-#if defined(HAVE_LIBDL) || defined(XP_MACOSX)
+#if defined(HAVE_LIBDL) || defined(XP_MACOSX) || defined(__FreeBSD__)
#include <dlfcn.h>
#endif