$NetBSD: patch-ax,v 1.1.1.1 2011/04/19 11:16:08 tnn Exp $ --- xpcom/base/nsStackWalk.cpp.orig 2009-08-24 17:53:27.000000000 +0200 +++ xpcom/base/nsStackWalk.cpp @@ -1124,7 +1124,7 @@ NS_FormatCodeAddressDetails(void *aPC, c #define __USE_GNU #endif -#if defined(HAVE_LIBDL) || defined(XP_MACOSX) +#if defined(HAVE_LIBDL) || defined(XP_MACOSX) || defined(__NetBSD__) #include #endif