Fix build without _IRR_COMPILE_WITH_JOYSTICK_EVENTS_ (#3659)

This commit is contained in:
Kevin Zheng 2018-12-22 12:13:03 -08:00 committed by Deve
parent c42c5b7d82
commit ca419f8d59

View File

@ -26,11 +26,11 @@
#include <linux/input.h>
#include <sys/mman.h>
#include <sys/utsname.h>
#include <unistd.h>
#include <time.h>
#if defined _IRR_COMPILE_WITH_JOYSTICK_EVENTS_
#include <fcntl.h>
#include <unistd.h>
#include <sys/ioctl.h>
#include <linux/joystick.h>
#endif