summaryrefslogtreecommitdiff
path: root/src/modules/eina
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2016-01-07 15:43:26 +0000
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2016-01-07 15:43:26 +0000
commit03bce14908eb39a2a49825d2a2db5e441653040b (patch)
tree40b5aa809bcb7b2627030c409da0616a2a2e0a59 /src/modules/eina
parentdadc3505078a672fccee4cb771f79cfcb0201e46 (diff)
eina mp: also include malloc_np.h on FreeBSD
Diffstat (limited to 'src/modules/eina')
-rw-r--r--src/modules/eina/mp/chained_pool/eina_chained_mempool.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/modules/eina/mp/chained_pool/eina_chained_mempool.c b/src/modules/eina/mp/chained_pool/eina_chained_mempool.c
index 8c64c48036..7cb568ee5c 100644
--- a/src/modules/eina/mp/chained_pool/eina_chained_mempool.c
+++ b/src/modules/eina/mp/chained_pool/eina_chained_mempool.c
@@ -27,8 +27,13 @@
27# include <assert.h> 27# include <assert.h>
28#endif 28#endif
29 29
30#if defined(EINA_DEBUG_MALLOC) && defined(__linux__) 30#ifdef EINA_DEBUG_MALLOC
31# include <malloc.h> 31# ifdef __linux__
32# include <malloc.h>
33# endif
34# ifdef __FreeBSD__
35# include <malloc_np.h>
36# endif
32#endif 37#endif
33 38
34#include "eina_config.h" 39#include "eina_config.h"