diff src/joystick/linux/SDL_sysjoystick.c @ 377:f6987c9f04e4

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Mon, 20 May 2002 17:40:55 +0000
parents f6ffac90895c
children 9916da315b0d
line wrap: on
line diff
--- a/src/joystick/linux/SDL_sysjoystick.c	Sun May 19 23:31:00 2002 +0000
+++ b/src/joystick/linux/SDL_sysjoystick.c	Mon May 20 17:40:55 2002 +0000
@@ -35,7 +35,9 @@
 #include <fcntl.h>
 #include <sys/ioctl.h>
 #include <limits.h>		/* For the definition of PATH_MAX */
-
+#ifdef __arm__
+#include <linux/limits.h> /* Arm cross-compiler needs this */
+#endif
 #include <linux/joystick.h>
 #ifdef USE_INPUT_EVENTS
 #include <linux/input.h>