changeset 209:c995b877bc5b

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Tue, 16 Oct 2001 15:04:00 +0000
parents ab4abaf66814
children 582abf60e21e
files src/joystick/darwin/SDL_sysjoystick.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/joystick/darwin/SDL_sysjoystick.c	Tue Oct 16 15:01:37 2001 +0000
+++ b/src/joystick/darwin/SDL_sysjoystick.c	Tue Oct 16 15:04:00 2001 +0000
@@ -33,7 +33,12 @@
 #include <mach/mach_error.h>
 #include <IOKit/IOKitLib.h>
 #include <IOKit/IOCFPlugIn.h>
+#ifdef MACOS_10_0_4
+#include <IOKit/hidsystem/IOHIDUsageTables.h>
+#else
+/* The header was moved here in MacOS X 10.1 */
 #include <Kernel/IOKit/hidsystem/IOHIDUsageTables.h>
+#endif
 #include <IOKit/hid/IOHIDLib.h>
 #include <IOKit/hid/IOHIDKeys.h>
 #include <CoreFoundation/CoreFoundation.h>