$NetBSD: patch-aa,v 1.1.1.1 2006/12/15 09:03:47 adam Exp $
--- PlatformHeader.h.orig	2005-12-09 18:18:00.000000000 +0000
+++ PlatformHeader.h	2005-12-09 18:20:17.000000000 +0000
@@ -144,6 +144,26 @@
 #define EXPORT
 #define _REENTRANT 1
 
+#elif __NetBSD__ 
+
+#define USE_ATOMICLIB 0
+#define MACOSXEVENTQUEUE 0
+#define __PTHREADS__    1
+#define __PTHREADS_MUTEXES__    1
+#include <machine/endian.h>
+#if BYTE_ORDER == BIG_ENDIAN
+    #define BIGENDIAN      1
+#else
+    #define BIGENDIAN      0
+#endif
+#define ALLOW_NON_WORD_ALIGN_ACCESS 1
+#define USE_THREAD      1 //Flag used in QTProxy
+#define THREADING_IS_COOPERATIVE        1 
+#define USE_THR_YIELD   0
+#define kPlatformNameString     "NetBSD"
+#define EXPORT
+#define _REENTRANT 1
+
 #elif __solaris__ 
 
 #ifdef sparc
