2011-04-26 16:16:36 +02:00
|
|
|
$NetBSD: patch-ax,v 1.3 2011/04/26 14:16:36 tnn Exp $
|
2009-09-20 08:44:35 +02:00
|
|
|
|
2011-04-26 16:16:36 +02:00
|
|
|
--- xpcom/base/nsStackWalk.cpp.orig 2010-12-15 01:03:41.000000000 +0000
|
2009-09-20 08:44:35 +02:00
|
|
|
+++ xpcom/base/nsStackWalk.cpp
|
2011-04-26 16:16:36 +02:00
|
|
|
@@ -1137,7 +1137,7 @@ NS_FormatCodeAddressDetails(void *aPC, c
|
2009-09-20 12:58:00 +02:00
|
|
|
#define __USE_GNU
|
|
|
|
#endif
|
2009-09-20 08:44:35 +02:00
|
|
|
|
2011-04-26 16:16:36 +02:00
|
|
|
-#if defined(HAVE_DLOPEN) || defined(XP_MACOSX)
|
|
|
|
+#if defined(HAVE_DLOPEN) || defined(XP_MACOSX) || defined(__NetBSD__)
|
2009-09-20 12:58:00 +02:00
|
|
|
#include <dlfcn.h>
|
|
|
|
#endif
|
2009-09-20 08:44:35 +02:00
|
|
|
|