_MSC_VER malloc.h missing from common.c, gb18030.c, gb2312.c, sjis.c

This commit is contained in:
gitlost 2020-05-02 01:02:37 +01:00
parent 3bda3b6213
commit 729b55b607
4 changed files with 12 additions and 0 deletions

View file

@ -32,6 +32,9 @@
/* vim: set ts=4 sw=4 et : */
#include <string.h>
#include <stdio.h>
#ifdef _MSC_VER
#include <malloc.h>
#endif
#include "common.h"
/* Local replacement for strlen() with unsigned char strings */