From: Eric Haszlakiewicz Date: Wed, 8 Apr 2020 02:53:48 +0000 (+0000) Subject: Not all systems (e.g. osx) have malloc.h, include stdlib.h instead. X-Git-Tag: json-c-0.14-20200419~30 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f357081b577df8e39421e03aa1f6566c9d2e9f02;p=json-c Not all systems (e.g. osx) have malloc.h, include stdlib.h instead. --- diff --git a/vasprintf_compat.h b/vasprintf_compat.h index 7b8e8fb..5264272 100644 --- a/vasprintf_compat.h +++ b/vasprintf_compat.h @@ -8,7 +8,7 @@ #include "snprintf_compat.h" -#include +#include #if !defined(HAVE_VASPRINTF) /* CAW: compliant version of vasprintf */