changeset 2541:8a156630208b vim73

Include wchar.h in charset.c for towupper().
author Bram Moolenaar <bram@vim.org>
date Thu, 12 Aug 2010 20:17:02 +0200
parents 9397d2d76340
children 7a547db7070d
files src/charset.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/charset.c
+++ b/src/charset.c
@@ -14,6 +14,9 @@ static int win_chartabsize __ARGS((win_T
 #endif
 
 #ifdef FEAT_MBYTE
+# if defined(HAVE_WCHAR_H)
+#  include <wchar.h>	    /* for towupper() and towlower() */
+# endif
 static int win_nolbr_chartabsize __ARGS((win_T *wp, char_u *s, colnr_T col, int *headp));
 #endif