diff options
Diffstat (limited to 'src/getchar.c')
-rw-r--r-- | src/getchar.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/getchar.c b/src/getchar.c index 87bd899880..e0b4b59e9d 100644 --- a/src/getchar.c +++ b/src/getchar.c @@ -16,6 +16,8 @@ * mappings and abbreviations */ +#include <string.h> + #include "vim.h" #include "getchar.h" #include "charset.h" @@ -3073,7 +3075,7 @@ static void map_free(mapblock_T **mpp) static void validate_maphash(void) { if (!maphash_valid) { - vim_memset(maphash, 0, sizeof(maphash)); + memset(maphash, 0, sizeof(maphash)); maphash_valid = TRUE; } } |