summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean Guyomarc'h <jean.guyomarch@openwide.fr>2016-08-29 15:22:57 +0200
committerJean Guyomarc'h <jean@guyomarch.bzh>2016-08-29 20:03:52 +0200
commit3791ed5fe02d9f330e1b981c53ae169f6fdb271f (patch)
tree460c7fef0dd5a38b2bce832faa8f5dee7f18fc78
parent9a82b17effacc24e289a4ad09c8bc850f0b16a9a (diff)
elm-tests: don't include Ecore_X.h when not available
This fixes a build issue on Mac OS X.
-rw-r--r--src/tests/elementary/elm_test_win.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tests/elementary/elm_test_win.c b/src/tests/elementary/elm_test_win.c
index d861cefb58..d315463b86 100644
--- a/src/tests/elementary/elm_test_win.c
+++ b/src/tests/elementary/elm_test_win.c
@@ -5,7 +5,9 @@
5#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED 5#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
6#define ELM_INTERFACE_ATSPI_COMPONENT_PROTECTED 6#define ELM_INTERFACE_ATSPI_COMPONENT_PROTECTED
7#include <Elementary.h> 7#include <Elementary.h>
8#include <Ecore_X.h> 8#ifdef HAVE_ELEMENTARY_X
9# include <Ecore_X.h>
10#endif
9#include "elm_suite.h" 11#include "elm_suite.h"
10 12
11static const double _timeout1 = 0.1; 13static const double _timeout1 = 0.1;