Not all systems (e.g. osx) have malloc.h, include stdlib.h instead.

This commit is contained in:
Eric Haszlakiewicz
2020-04-08 02:53:48 +00:00
parent 2782a6b62c
commit f357081b57

View File

@@ -8,7 +8,7 @@
#include "snprintf_compat.h"
#include <malloc.h>
#include <stdlib.h>
#if !defined(HAVE_VASPRINTF)
/* CAW: compliant version of vasprintf */