Add Ecore.h to Ecore_Wayland.h 70/15770/1 accepted/tizen/mobile/20140128.171015 submit/tizen/20140128.015335
authorJuan Zhao <juan.j.zhao@intel.com>
Tue, 28 Jan 2014 01:14:30 +0000 (09:14 +0800)
committerwangfei <feix.w.wang@intel.com>
Tue, 28 Jan 2014 01:45:46 +0000 (09:45 +0800)
Because Ecore_Wayland.h uses the structure defined in Ecore.h
If not, the following error will be reported for ecore_wayland users
 /usr/include/ecore-1/Ecore_Wayland.h:99:4: error: unknown type name 'Ecore_Fd_Handler'
     Ecore_Fd_Handler *fd_hdl;
     ^
 /usr/include/ecore-1/Ecore_Wayland.h:100:4: error: unknown type name 'Ecore_Idle_Enterer'
     Ecore_Idle_Enterer *idle_enterer;
     ^
 /usr/include/ecore-1/Ecore_Wayland.h:175:9: error: unknown type name 'Ecore_Fd_Handler'
          Ecore_Fd_Handler *hdlr;

Change-Id: I687631a0d58de3980bf3cdb51330eae9d737933b
Signed-off-by: wangfei <feix.w.wang@intel.com>
src/lib/ecore_wayland/Ecore_Wayland.h

index 7f94e27..b086c9b 100644 (file)
@@ -8,6 +8,7 @@
  */
 
 # include <Eina.h>
+# include <Ecore.h>
 # include <wayland-client.h>
 # include <wayland-cursor.h>
 # include <xkbcommon/xkbcommon.h>