summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2022-01-11 11:16:35 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2022-01-11 11:16:35 +0000
commit7a674c6a29a408c6103bcc00c3bddee295fea07e (patch)
treed5df2129599f55c5755fa7d34775ebc3c8c38676
parenta32373195b4b0323fa252f393451f21114c7f92b (diff)
downloadefl-7a674c6a29a408c6103bcc00c3bddee295fea07e.tar.gz
ecore input - fix - hopefully - build on freebsd with joystick support
no eeze there to move the include there and on linux only @fix
-rw-r--r--src/lib/ecore_input/ecore_input_joystick.c10
1 files 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"