$NetBSD: patch-ab,v 1.2 2007/12/19 08:13:11 bjs Exp $

--- src/stdinc.h.orig	2007-12-17 11:06:05.000000000 -0500
+++ src/stdinc.h
@@ -39,7 +39,14 @@
 #include <locale.h>
 #endif /* BUILD_NLS */
 #include <signal.h>
+
+#if defined(HAVE_NBCOMPAT_H)
+#include <nbcompat/cdefs.h>
+#include <stdio.h>
+#else
 #include <stdio.h>
+#endif
+
 #include <stdlib.h>
 #include <string.h>
 #include <time.h>
