src/joystick/darwin/SDL_sysjoystick.c
changeset 2110 21942f552734
parent 2109 51cbe188a49e
child 2120 2c835d58faad
--- a/src/joystick/darwin/SDL_sysjoystick.c	Tue May 29 12:14:16 2007 +0000
+++ b/src/joystick/darwin/SDL_sysjoystick.c	Thu May 31 14:46:01 2007 +0000
@@ -39,7 +39,11 @@
 /* The header was moved here in Mac OS X 10.1 */
 #include <Kernel/IOKit/hidsystem/IOHIDUsageTables.h>
 #endif
+#if MAC_OS_X_VERSION_MIN_REQUIRED == 1030
+#include "10.3.9-FIX/IOHIDLib.h"
+#else
 #include <IOKit/hid/IOHIDLib.h>
+#endif
 #include <IOKit/hid/IOHIDKeys.h>
 #include <CoreFoundation/CoreFoundation.h>
 #include <Carbon/Carbon.h>      /* for NewPtrClear, DisposePtr */