$NetBSD$

--- src/ash/output.c.orig	2007-01-29 05:54:36.000000000 +0000
+++ src/ash/output.c
@@ -230,6 +230,9 @@ out1fmt(const char *fmt, ...)
 	va_end(ap);
 }
 
+#if defined(__NetBSD__) && __NetBSD_Version__  > 599003900
+/* has dprintf */
+#else
 void
 dprintf(const char *fmt, ...)
 {
@@ -240,6 +243,7 @@ dprintf(const char *fmt, ...)
 	va_end(ap);
 	flushout(out2);
 }
+#endif
 
 void
 fmtstr(char *outbuf, size_t length, const char *fmt, ...)
