*** empty log message ***
authorSam Lantinga <slouken@libsdl.org>
Tue, 16 Oct 2001 15:04:00 +0000
changeset 209c995b877bc5b
parent 208 ab4abaf66814
child 210 582abf60e21e
*** empty log message ***
src/joystick/darwin/SDL_sysjoystick.c
     1.1 --- a/src/joystick/darwin/SDL_sysjoystick.c	Tue Oct 16 15:01:37 2001 +0000
     1.2 +++ b/src/joystick/darwin/SDL_sysjoystick.c	Tue Oct 16 15:04:00 2001 +0000
     1.3 @@ -33,7 +33,12 @@
     1.4  #include <mach/mach_error.h>
     1.5  #include <IOKit/IOKitLib.h>
     1.6  #include <IOKit/IOCFPlugIn.h>
     1.7 +#ifdef MACOS_10_0_4
     1.8 +#include <IOKit/hidsystem/IOHIDUsageTables.h>
     1.9 +#else
    1.10 +/* The header was moved here in MacOS X 10.1 */
    1.11  #include <Kernel/IOKit/hidsystem/IOHIDUsageTables.h>
    1.12 +#endif
    1.13  #include <IOKit/hid/IOHIDLib.h>
    1.14  #include <IOKit/hid/IOHIDKeys.h>
    1.15  #include <CoreFoundation/CoreFoundation.h>