diff --git a/src/haptic/windows/SDL_dinputhaptic.c b/src/haptic/windows/SDL_dinputhaptic.c index aeb73e56a..0112111a2 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 83c3a8d02..bc02dbcad 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"