aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Naour <romain.naour@smile.fr>2017-07-03 23:26:16 +0200
committerStefan Schmidt <stefan@osg.samsung.com>2017-07-11 11:31:34 +0200
commit0c21139b29be58c27bd07cfa594b0a8766409050 (patch)
tree4fcb27b32ccfb86a9b1f76b8c2ca575882294843
parentslider: Allow range limitations (diff)
downloadefl-0c21139b29be58c27bd07cfa594b0a8766409050.tar.gz
ecore_input: fix build without eeze
A dependency on HAVE_EEZE is missing in ecore_input_joystick_name_get(): lib/ecore_input/ecore_input_joystick.c: Dans la fonction « ecore_input_joystick_name_get »: lib/ecore_input/ecore_input_joystick.c:632:4: erreur : unknown type name « Joystick_Info » Joystick_Info *ji; ^~~~~~~~~~~~~ Fixes https://phab.enlightenment.org/T5665 Signed-off-by: Romain Naour <romain.naour@smile.fr>
-rw-r--r--src/lib/ecore_input/ecore_input_joystick.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_input/ecore_input_joystick.c b/src/lib/ecore_input/ecore_input_joystick.c
index d809a4b7a1..58fbedef67 100644
--- a/src/lib/ecore_input/ecore_input_joystick.c
+++ b/src/lib/ecore_input/ecore_input_joystick.c
@@ -625,7 +625,7 @@ ecore_input_joystick_event_axis_deadzone_get(void)
EAPI Eina_Slstr *
ecore_input_joystick_name_get(int index)
{
-#ifdef JSIOCGNAME
+#if defined(HAVE_EEZE) && defined(JSIOCGNAME)
int fd;
char name[128];
Eina_List *l;