Not all systems (e.g. osx) have malloc.h, include stdlib.h instead.
This commit is contained in:
1 parent
2782a6b62c
commit
f357081b57
1 file changed
+1
-1
+1
-1
@@ -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