$NetBSD: patch-ax,v 1.1 2013/01/10 16:17:10 ryoon Exp $ --- xpcom/base/nsStackWalk.cpp.orig 2012-08-24 22:56:10.000000000 +0000 +++ xpcom/base/nsStackWalk.cpp @@ -23,7 +23,7 @@ struct CriticalAddress { }; static CriticalAddress gCriticalAddress; -#if defined(HAVE_DLOPEN) || defined(XP_MACOSX) +#if defined(HAVE_DLOPEN) || defined(XP_MACOSX) || defined(__NetBSD__) #include #endif