evas: correct header order.
authorcedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 20 Nov 2011 15:17:29 +0000 (15:17 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 20 Nov 2011 15:17:29 +0000 (15:17 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@65452 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/canvas/evas_async_events.c

index 17343e1..8b4e085 100644 (file)
@@ -1,6 +1,3 @@
-#include "evas_common.h"
-#include "evas_private.h"
-
 #ifdef BUILD_ASYNC_EVENTS
 
 # ifndef _MSC_VER
@@ -9,6 +6,13 @@
 # include <fcntl.h>
 # include <errno.h>
 
+#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
 }