eina mp: also include malloc_np.h on FreeBSD

This commit is contained in:
Daniel Kolesa 2016-01-07 15:43:26 +00:00
parent dadc350507
commit 03bce14908
1 changed files with 7 additions and 2 deletions

View File

@ -27,8 +27,13 @@
# include <assert.h>
#endif
#if defined(EINA_DEBUG_MALLOC) && defined(__linux__)
# include <malloc.h>
#ifdef EINA_DEBUG_MALLOC
# ifdef __linux__
# include <malloc.h>
# endif
# ifdef __FreeBSD__
# include <malloc_np.h>
# endif
#endif
#include "eina_config.h"