$NetBSD: patch-ac,v 1.11 2008/09/11 04:22:50 dholland Exp $

--- ../thotlib/include/ustring.h~	2007-10-18 03:40:32.000000000 -0400
+++ ../thotlib/include/ustring.h	2008-09-08 04:46:10.000000000 -0400
@@ -6,6 +6,11 @@
 #include <windows.h>
 #endif /* _WINGUI */
 
+#include "config.h"
+#ifdef HAVE_WCHAR_H
+#include <wchar.h>
+#endif
+
 #ifdef _WINDOWS
 #define strncasecmp _strnicmp
 #endif /* _WINDOWS */
