Fix build with joystick on FreeBSD (#3660)

This commit is contained in:
Kevin Zheng 2018-12-22 18:49:15 -08:00 committed by auriamg
parent ca419f8d59
commit 95564c4d74

View File

@ -32,8 +32,12 @@
#if defined _IRR_COMPILE_WITH_JOYSTICK_EVENTS_
#include <fcntl.h>
#include <sys/ioctl.h>
#ifdef __FreeBSD__
#include <sys/joystick.h>
#else
#include <linux/joystick.h>
#endif
#endif
#include "CColorConverter.h"
#include "CContextEGL.h"