From 0dfefc2fa43bc9d45eeccd5de0dc64d7228191f0 Mon Sep 17 00:00:00 2001 From: David Stinnett Date: Fri, 29 Dec 2023 22:27:48 +0100 Subject: [PATCH] Fixed Windows build with latest SDK Made changes to pmSDL.hpp in order to fix build errors related to order of included Windows libraries. --- src/sdl-test-ui/pmSDL.hpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/sdl-test-ui/pmSDL.hpp b/src/sdl-test-ui/pmSDL.hpp index e3824173b6..574c7a9d32 100644 --- a/src/sdl-test-ui/pmSDL.hpp +++ b/src/sdl-test-ui/pmSDL.hpp @@ -61,13 +61,16 @@ #include #ifdef WASAPI_LOOPBACK +#include +#include #include -#include + #include -#include +#include + #include #include -#include + #define LOG(format, ...) wprintf(format L"\n", __VA_ARGS__) #define ERR(format, ...) LOG(L"Error: " format, __VA_ARGS__)