changeset 377:f6987c9f04e4

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Mon, 20 May 2002 17:40:55 +0000
parents a5f60a847a89
children 6089cd59e3ca
files src/joystick/linux/SDL_sysjoystick.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
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>