Fix build with joystick on FreeBSD (#3660)
This commit is contained in:
parent
ca419f8d59
commit
95564c4d74
@ -32,8 +32,12 @@
|
|||||||
#if defined _IRR_COMPILE_WITH_JOYSTICK_EVENTS_
|
#if defined _IRR_COMPILE_WITH_JOYSTICK_EVENTS_
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
|
#ifdef __FreeBSD__
|
||||||
|
#include <sys/joystick.h>
|
||||||
|
#else
|
||||||
#include <linux/joystick.h>
|
#include <linux/joystick.h>
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "CColorConverter.h"
|
#include "CColorConverter.h"
|
||||||
#include "CContextEGL.h"
|
#include "CContextEGL.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user