mirror of
https://github.com/json-c/json-c.git
synced 2026-03-27 17:09: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 <malloc.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#if !defined(HAVE_VASPRINTF)
|
||||
/* CAW: compliant version of vasprintf */
|
||||
|
||||
Reference in New Issue
Block a user