summaryrefslogtreecommitdiff
path: root/src/charset.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-08-12 20:17:02 +0200
committerBram Moolenaar <Bram@vim.org>2010-08-12 20:17:02 +0200
commitd7b734a49364df78c2d246efa1bb6cd1e7595474 (patch)
treee7665959f516a2fda89850903794ff2af0fa6498 /src/charset.c
parentede981a27f3762f785e59f53c77b4f27d042f315 (diff)
downloadvim-git-d7b734a49364df78c2d246efa1bb6cd1e7595474.tar.gz
Include wchar.h in charset.c for towupper().
Diffstat (limited to 'src/charset.c')
-rw-r--r--src/charset.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/charset.c b/src/charset.c
index 87ad30333..21fb4e52c 100644
--- a/src/charset.c
+++ b/src/charset.c
@@ -14,6 +14,9 @@ static int win_chartabsize __ARGS((win_T *wp, char_u *p, colnr_T col));
#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