diff options
Diffstat (limited to 'src/charset.c')
-rw-r--r-- | src/charset.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/charset.c b/src/charset.c index 7d176ec092..034aebc30f 100644 --- a/src/charset.c +++ b/src/charset.c @@ -2,6 +2,8 @@ /// /// Code related to character sets. +#include <string.h> + #include "vim.h" #include "charset.h" #include "farsi.h" @@ -129,7 +131,7 @@ int buf_init_chartab(buf_T *buf, int global) } // Init word char flags all to FALSE - vim_memset(buf->b_chartab, 0, (size_t)32); + memset(buf->b_chartab, 0, (size_t)32); if (enc_dbcs != 0) { for (c = 0; c < 256; ++c) { |