From 71cd1fa5957ba3771bd3bc9c87ea45591620d12d Mon Sep 17 00:00:00 2001 From: Caleb Cornett Date: Wed, 10 Jan 2024 14:41:15 -0600 Subject: [PATCH] Fix compile error with XInputOnGameInput.h (cherry picked from commit d766f68cb30b058277b8d574c9d5a230265cbe73) --- src/core/windows/SDL_xinput.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/windows/SDL_xinput.h b/src/core/windows/SDL_xinput.h index c5f214d2a..396afcde7 100644 --- a/src/core/windows/SDL_xinput.h +++ b/src/core/windows/SDL_xinput.h @@ -28,6 +28,7 @@ #ifdef HAVE_XINPUT_H #if defined(__XBOXONE__) || defined(__XBOXSERIES__) /* Xbox supports an XInput wrapper which is a C++-only header... */ +#include /* Required to compile with recent MSVC... */ #include using namespace XInputOnGameInput; #else