$NetBSD$

--- scribus/util.cpp.orig	2010-10-31 10:44:16.000000000 +0000
+++ scribus/util.cpp
@@ -35,7 +35,7 @@ for which a new license (GPL+exception) 
 
 #include <signal.h>
 
-#if !defined(_WIN32) && !defined(Q_OS_MAC) 
+#if !defined(_WIN32) && !defined(Q_OS_MAC) && !defined(Q_OS_NETBSD)
 #include <execinfo.h>
 #include <cxxabi.h>
 #endif
@@ -937,7 +937,7 @@ void getDashArray(int dashtype, double l
  */
 void printBacktrace ( int nFrames )
 {
-#if !defined(_WIN32) && !defined(Q_OS_MAC) && !defined(Q_OS_OPENBSD)  && !defined(Q_OS_FREEBSD)
+#if !defined(_WIN32) && !defined(Q_OS_MAC) && !defined(Q_OS_OPENBSD)  && !defined(Q_OS_FREEBSD) && !defined(Q_OS_NETBSD)
 	void ** trace = new void*[nFrames + 1];
 	char **messages = ( char ** ) NULL;
 	int i, trace_size = 0;
