diff --git a/src/joystick/darwin/SDL_sysjoystick.c b/src/joystick/darwin/SDL_sysjoystick.c index 6a80ec73b..5af5bb628 100644 --- a/src/joystick/darwin/SDL_sysjoystick.c +++ b/src/joystick/darwin/SDL_sysjoystick.c @@ -33,7 +33,12 @@ #include #include #include +#ifdef MACOS_10_0_4 +#include +#else +/* The header was moved here in MacOS X 10.1 */ #include +#endif #include #include #include