aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@samsung.com>2013-03-04 13:51:26 +0900
committerCedric BAIL <cedric.bail@samsung.com>2013-03-04 13:51:26 +0900
commitab12337d76301ae9a80144551a1e375e9ea7f007 (patch)
treeb99dc9c16ac1a854538a259cbf6924ee947bd678
parentc2541f5dd1dbbb1a301c308752c88ed058ec7083 (diff)
downloadefl-ab12337d76301ae9a80144551a1e375e9ea7f007.tar.gz
efl-ab12337d76301ae9a80144551a1e375e9ea7f007.tar.xz
efl-ab12337d76301ae9a80144551a1e375e9ea7f007.zip
eina: forgotten include that borked debug build.
-rw-r--r--src/modules/eina/mp/chained_pool/eina_chained_mempool.c3
-rw-r--r--src/modules/eina/mp/one_big/eina_one_big.c1
2 files changed, 3 insertions, 1 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 a84ab8e3d..a477d8287 100644
--- a/src/modules/eina/mp/chained_pool/eina_chained_mempool.c
+++ b/src/modules/eina/mp/chained_pool/eina_chained_mempool.c
@@ -39,6 +39,7 @@
#include "eina_trash.h"
#include "eina_rbtree.h"
#include "eina_lock.h"
+#include "eina_thread.h"
#include "eina_private.h"
@@ -228,7 +229,7 @@ _eina_chained_mempool_free_in(Chained_Mempool *pool, Chained_Pool *p, void *ptr)
// is it really a pointer returned by malloc
if ((((unsigned char *)ptr) - (unsigned char *)(p + 1)) % pool->item_alloc)
{
- ERR("%p is %i bytes inside a pointer served by %p '%s' Chained_Mempool (You are freeing the wrong pointer man !). %i",
+ ERR("%p is %i bytes inside a pointer served by %p '%s' Chained_Mempool (You are freeing the wrong pointer man !).",
ptr, ((((unsigned char *)ptr) - (unsigned char *)(p + 1)) % pool->item_alloc), pool, pool->name);
return EINA_FALSE;
}
diff --git a/src/modules/eina/mp/one_big/eina_one_big.c b/src/modules/eina/mp/one_big/eina_one_big.c
index cc96c8ea3..2fbd75915 100644
--- a/src/modules/eina/mp/one_big/eina_one_big.c
+++ b/src/modules/eina/mp/one_big/eina_one_big.c
@@ -31,6 +31,7 @@
#include "eina_inlist.h"
#include "eina_log.h"
#include "eina_lock.h"
+#include "eina_thread.h"
#ifndef NVALGRIND
# include <memcheck.h>