diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-08-12 20:17:02 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-08-12 20:17:02 +0200 |
commit | d7b734a49364df78c2d246efa1bb6cd1e7595474 (patch) | |
tree | e7665959f516a2fda89850903794ff2af0fa6498 /src/charset.c | |
parent | ede981a27f3762f785e59f53c77b4f27d042f315 (diff) | |
download | vim-git-d7b734a49364df78c2d246efa1bb6cd1e7595474.tar.gz |
Include wchar.h in charset.c for towupper().
Diffstat (limited to 'src/charset.c')
-rw-r--r-- | src/charset.c | 3 |
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 |