Include wchar.h in charset.c for towupper().

This commit is contained in:
Bram Moolenaar
2010-08-12 20:17:02 +02:00
parent ede981a27f
commit d7b734a493

View File

@ -14,6 +14,9 @@ static int win_chartabsize __ARGS((win_T *wp, char_u *p, colnr_T col));
#endif #endif
#ifdef FEAT_MBYTE #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)); static int win_nolbr_chartabsize __ARGS((win_T *wp, char_u *s, colnr_T col, int *headp));
#endif #endif