$NetBSD: patch-ap,v 1.1.1.1 2007/10/17 21:35:53 agc Exp $

--- lib/string/str.c	2007/09/28 21:47:18	1.1
+++ lib/string/str.c	2007/09/28 21:48:13
@@ -37,6 +37,10 @@
 #include "bsd_output.h"
 #endif
 
+#ifdef __NetBSD__
+#include <wchar.h>
+#endif
+
 #if defined _WIN32 && !defined HAS_BSD_PRINTF
 #define vsnprintf _vsnprintf
 #endif
