From 76b2798b5e62c05c676051c97ac890574c271049 Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Sun, 20 Nov 2011 15:17:29 +0000 Subject: [PATCH] evas: correct header order. SVN revision: 65452 --- legacy/evas/src/lib/canvas/evas_async_events.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/legacy/evas/src/lib/canvas/evas_async_events.c b/legacy/evas/src/lib/canvas/evas_async_events.c index 17343e1961..8b4e085794 100644 --- a/legacy/evas/src/lib/canvas/evas_async_events.c +++ b/legacy/evas/src/lib/canvas/evas_async_events.c @@ -1,6 +1,3 @@ -#include "evas_common.h" -#include "evas_private.h" - #ifdef BUILD_ASYNC_EVENTS # ifndef _MSC_VER @@ -9,6 +6,13 @@ # include # include +#endif + +#include "evas_common.h" +#include "evas_private.h" + +#ifdef BUILD_ASYNC_EVENTS + static int _fd_write = -1; static int _fd_read = -1; @@ -159,7 +163,7 @@ evas_async_events_put(const void *target, Evas_Callback_Type type, void *event_i return result; #else - func(target, type, event_info); + func((void*) target, type, event_info); return EINA_TRUE; #endif }