# HG changeset patch # User Sam Lantinga # Date 1147390331 0 # Node ID 2f381b48b05c79542d8d41efe44fe30cc518ccd1 # Parent 133d55b02d51d74b8e5c436a088436fd4a68262b Date: Thu, 11 May 2006 19:08:05 -0400 From: Mike Frysinger Subject: [SDL] [patch] remove limits.h hack from linux joystick code there is a small hack in the current linux joystick code to work around broken cross-compilers by including more than one limits.h ... at the very least, this is not arm-specific by any means i'm of the opinion that libsdl should not contain such things ... people should be fixing their cross-compilers, not bloating other's source trees patch attached to clean the cruft -mike diff -r 133d55b02d51 -r 2f381b48b05c src/joystick/linux/SDL_sysjoystick.c --- a/src/joystick/linux/SDL_sysjoystick.c Thu May 11 23:26:45 2006 +0000 +++ b/src/joystick/linux/SDL_sysjoystick.c Thu May 11 23:32:11 2006 +0000 @@ -30,9 +30,6 @@ #include #include #include /* For the definition of PATH_MAX */ -#ifdef __arm__ -#include /* Arm cross-compiler needs this */ -#endif #include #if SDL_INPUT_LINUXEV #include