jayji pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=3791ed5fe02d9f330e1b981c53ae169f6fdb271f

commit 3791ed5fe02d9f330e1b981c53ae169f6fdb271f
Author: Jean Guyomarc'h <[email protected]>
Date:   Mon Aug 29 15:22:57 2016 +0200

    elm-tests: don't include Ecore_X.h when not available
    
    This fixes a build issue on Mac OS X.
---
 src/tests/elementary/elm_test_win.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/tests/elementary/elm_test_win.c 
b/src/tests/elementary/elm_test_win.c
index d861cef..d315463 100644
--- a/src/tests/elementary/elm_test_win.c
+++ b/src/tests/elementary/elm_test_win.c
@@ -5,7 +5,9 @@
 #define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
 #define ELM_INTERFACE_ATSPI_COMPONENT_PROTECTED
 #include <Elementary.h>
-#include <Ecore_X.h>
+#ifdef HAVE_ELEMENTARY_X
+# include <Ecore_X.h>
+#endif
 #include "elm_suite.h"
 
 static const double _timeout1 = 0.1;

-- 


Reply via email to