_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 */

View File

@ -53,6 +53,9 @@
* If not, see <https://www.gnu.org/licenses/>.
*/
#include <string.h>
#ifdef _MSC_VER
#include <malloc.h>
#endif
#include "common.h"
#include "gb2312.h"
#include "gb18030.h"

View File

@ -53,6 +53,9 @@
* If not, see <https://www.gnu.org/licenses/>.
*/
#include <string.h>
#ifdef _MSC_VER
#include <malloc.h>
#endif
#include "common.h"
#include "gb2312.h"

View File

@ -53,6 +53,9 @@
* If not, see <https://www.gnu.org/licenses/>.
*/
#include <string.h>
#ifdef _MSC_VER
#include <malloc.h>
#endif
#include "common.h"
#include "sjis.h"