Still trying to get this to compile...
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
diff --git a/src/haptic/windows/SDL_dinputhaptic.c b/src/haptic/windows/SDL_dinputhaptic.c
index aeb73e5..0112111 100644
--- a/src/haptic/windows/SDL_dinputhaptic.c
+++ b/src/haptic/windows/SDL_dinputhaptic.c
@@ -22,6 +22,7 @@
#include "SDL_error.h"
#include "SDL_haptic.h"
+#include "../SDL_syshaptic.h"
#if SDL_HAPTIC_DINPUT
@@ -29,7 +30,6 @@
#include "SDL_timer.h"
#include "SDL_windowshaptic_c.h"
#include "SDL_dinputhaptic_c.h"
-#include "../SDL_syshaptic.h"
#include "../../joystick/windows/SDL_windowsjoystick_c.h"
/*
diff --git a/src/haptic/windows/SDL_xinputhaptic.c b/src/haptic/windows/SDL_xinputhaptic.c
index 83c3a8d..bc02dbc 100644
--- a/src/haptic/windows/SDL_xinputhaptic.c
+++ b/src/haptic/windows/SDL_xinputhaptic.c
@@ -22,6 +22,7 @@
#include "SDL_error.h"
#include "SDL_haptic.h"
+#include "../SDL_syshaptic.h"
#if SDL_HAPTIC_XINPUT
@@ -30,7 +31,6 @@
#include "SDL_timer.h"
#include "SDL_windowshaptic_c.h"
#include "SDL_xinputhaptic_c.h"
-#include "../SDL_syshaptic.h"
#include "../../core/windows/SDL_xinput.h"
#include "../../joystick/windows/SDL_windowsjoystick_c.h"