Maybe patched to compile on some Windows configurations. (Maybe) Fixes Bugzilla #3001.
diff --git a/src/haptic/windows/SDL_xinputhaptic.c b/src/haptic/windows/SDL_xinputhaptic.c
index 0940161..b5fb2e3 100644
--- a/src/haptic/windows/SDL_xinputhaptic.c
+++ b/src/haptic/windows/SDL_xinputhaptic.c
@@ -375,6 +375,8 @@ SDL_XINPUT_HapticStopAll(SDL_Haptic * haptic)
#else /* !SDL_HAPTIC_XINPUT */
+#include "../../core/windows/SDL_windows.h"
+
typedef struct SDL_hapticlist_item SDL_hapticlist_item;
int