Fixed building on Mac OS X on the command line and with an older macOS SDK

This commit is contained in:
Sam Lantinga
2020-11-21 14:13:26 -08:00
parent 1df593fb16
commit fd89446782
9 changed files with 104 additions and 86 deletions

View File

@@ -28,7 +28,7 @@
#include "../SDL_syshaptic.h"
#include "SDL_joystick.h"
#include "../../joystick/SDL_sysjoystick.h" /* For the real SDL_Joystick */
#include "../../joystick/darwin/SDL_sysjoystick_c.h" /* For joystick hwdata */
#include "../../joystick/darwin/SDL_iokitjoystick_c.h" /* For joystick hwdata */
#include "SDL_syshaptic_c.h"
#include <IOKit/IOKitLib.h>