initial import
[patches.git] / libsdl-remove-joystick-limits-hack.patch
CommitLineData
5e993f12 1--- src/joystick/linux/SDL_sysjoystick.c
2+++ src/joystick/linux/SDL_sysjoystick.c
3@@ -30,9 +30,6 @@
4 #include <fcntl.h>
5 #include <sys/ioctl.h>
6 #include <limits.h> /* For the definition of PATH_MAX */
7-#ifdef __arm__
8-#include <linux/limits.h> /* Arm cross-compiler needs this */
9-#endif
10 #include <linux/joystick.h>
11 #if SDL_INPUT_LINUXEV
12 #include <linux/input.h>