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