raster pushed a commit to branch v-1.26.0.

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

commit c3a5aa2f2c7e881a320cfa79f7404545bee15577
Author: Carsten Haitzler <[email protected]>
Date:   Tue Jan 11 11:16:35 2022 +0000

    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 <linux/joystick.h>
-#endif
-
 #include <stdio.h>
 #include <fcntl.h>
 #include <unistd.h>
 
 #ifdef HAVE_EEZE
- #include "Eeze.h"
+# if defined(__linux__)
+#  include <linux/joystick.h>
+# endif
+# include "Eeze.h"
 #endif
 #include "Ecore.h"
 #include "Ecore_Input.h"

-- 


Reply via email to