Fix compile error with XInputOnGameInput.h

This commit is contained in:
Caleb Cornett authored and Sam Lantinga committed 2024-01-10 12:51:27 -08:00
1 parent ec2159d492
commit d766f68cb3
1 file changed
+1
+1
View File
@@ -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 <math.h> /* Required to compile with recent MSVC... */
#include <XInputOnGameInput.h>
using namespace XInputOnGameInput;
#else