mirror of
https://github.com/json-c/json-c.git
synced 2026-04-11 16:29:06 +08:00
Not all systems (e.g. osx) have malloc.h, include stdlib.h instead.
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
#include "snprintf_compat.h"
|
#include "snprintf_compat.h"
|
||||||
|
|
||||||
#include <malloc.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#if !defined(HAVE_VASPRINTF)
|
#if !defined(HAVE_VASPRINTF)
|
||||||
/* CAW: compliant version of vasprintf */
|
/* CAW: compliant version of vasprintf */
|
||||||
|
|||||||
Reference in New Issue
Block a user