Commit 7964f3adb2bf883006a821beae7b20e79fc55e15

Ryan C. Gordon 2015-05-28T01:22:14

Still trying to get this to compile...

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"