Include wchar.h in charset.c for towupper().
diff --git a/src/charset.c b/src/charset.c
index 87ad303..21fb4e5 100644
--- a/src/charset.c
+++ b/src/charset.c
@@ -14,6 +14,9 @@
 #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