ecore input - fix - hopefully - build on freebsd with joystick support

no eeze there to move the include there and on linux only

@fix
This commit is contained in:
Carsten Haitzler 2022-01-11 11:16:35 +00:00
parent a32373195b
commit 7a674c6a29
1 changed files with 4 additions and 6 deletions

View File

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