elm-tests: don't include Ecore_X.h when not available

This fixes a build issue on Mac OS X.
This commit is contained in:
Jean Guyomarc'h 2016-08-29 15:22:57 +02:00 committed by Jean Guyomarc'h
parent 9a82b17eff
commit 3791ed5fe0
1 changed files with 3 additions and 1 deletions

View File

@ -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;