From 7a674c6a29a408c6103bcc00c3bddee295fea07e Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Tue, 11 Jan 2022 11:16:35 +0000 Subject: ecore input - fix - hopefully - build on freebsd with joystick support no eeze there to move the include there and on linux only @fix --- src/lib/ecore_input/ecore_input_joystick.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/lib/ecore_input/ecore_input_joystick.c b/src/lib/ecore_input/ecore_input_joystick.c index f25b4ee67e..893ece40b8 100644 --- a/src/lib/ecore_input/ecore_input_joystick.c +++ b/src/lib/ecore_input/ecore_input_joystick.c @@ -2,17 +2,15 @@ # include "config.h" #endif -/*FIXME: change OS specific value */ -#if defined(__linux__) || defined(__FreeBSD__) -# include -#endif - #include #include #include #ifdef HAVE_EEZE - #include "Eeze.h" +# if defined(__linux__) +# include +# endif +# include "Eeze.h" #endif #include "Ecore.h" #include "Ecore_Input.h" -- cgit v1.2.1