diff options
Diffstat (limited to 'src/mbyte.c')
-rw-r--r-- | src/mbyte.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/mbyte.c b/src/mbyte.c index 112dad1bc3..facea8e02e 100644 --- a/src/mbyte.c +++ b/src/mbyte.c @@ -78,6 +78,7 @@ */ #include <string.h> +# include <wchar.h> #include "vim.h" #include "mbyte.h" @@ -95,15 +96,6 @@ # define WINBYTE BYTE - - - -#ifdef HAVE_WCHAR_H -# include <wchar.h> -#endif - - - static int enc_canon_search(char_u *name); static int dbcs_char2len(int c); static int dbcs_char2bytes(int c, char_u *buf); |