Fix FreeBSD build: include malloc.h only when a macro HAVE_MALLOC_H defined
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
|
||||
/* ------------------------------------------------------------------ */
|
||||
#include <stdlib.h>
|
||||
#if !defined(__APPLE__)
|
||||
#ifdef HAVE_MALLOC_H
|
||||
#include <malloc.h>
|
||||
#endif
|
||||
#include <string.h>
|
||||
|
Reference in New Issue
Block a user