From cd28854fdf4f31684800a0efe892634431a61f2f Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Wed, 12 Mar 2014 08:41:15 +0000 Subject: [PATCH] ecore-evas: Predefine Ecore_X_Atom and Ecore_X_Icon @fix: Fix building Enlightenment without X support These changes are needed so that we can build Enlightenment without X support. Many places in the E code reference Ecore_X_Atom/Ecore_X_Icon. If we build E without X support, these end up being undefined, causing build to fail, so we need to predefine them. Signed-off-by: Chris Michael --- src/lib/ecore_evas/Ecore_Evas_Types.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/lib/ecore_evas/Ecore_Evas_Types.h b/src/lib/ecore_evas/Ecore_Evas_Types.h index b5035336e8..eea8aa741c 100644 --- a/src/lib/ecore_evas/Ecore_Evas_Types.h +++ b/src/lib/ecore_evas/Ecore_Evas_Types.h @@ -11,6 +11,12 @@ #define _ECORE_X_WINDOW_PREDEF typedef unsigned int Ecore_X_Window; typedef unsigned int Ecore_X_Pixmap; +typedef unsigned int Ecore_X_Atom; +typedef struct _Ecore_X_Icon +{ + unsigned int width, height; + unsigned int *data; +} Ecore_X_Icon; #endif #ifndef _ECORE_DIRECTFB_H