$NetBSD: patch-ab,v 1.4 2007/12/14 12:46:22 bjs Exp $

--- src/common.h.orig	2007-08-28 12:36:33.000000000 -0400
+++ src/common.h
@@ -49,7 +49,13 @@
 #endif
 #endif // __MINGW32__
 
+#if defined(HAVE_NBCOMPAT_H)
+#include <nbcompat/cdefs.h>
+#include <nbcompat/config.h>
+#include <nbcompat/stdio.h>
+#else
 #include <stdio.h>
+#endif
 #include <stdint.h>
 #include <iostream>
 #include <assert.h>
