summaryrefslogtreecommitdiff
path: root/www/amaya/patches/patch-ac
blob: e61ec5aaef330c9c800da4c76569a70516f0374b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-ac,v 1.13 2011/07/02 22:19:30 dholland Exp $

- needs <wchar.h>

--- Amaya/thotlib/include/ustring.h~	2007-10-18 03:40:32.000000000 -0400
+++ Amaya/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 */