From b2c6dfa4c5b5993ddbfe93fa3dd385d58af7eda6 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Tue, 9 Sep 2025 04:55:24 +0300 Subject: [PATCH] dialog, windows: tweak includes and include order, so that the set _WIN32_WINNT value is visible to the source. Reference issue: https://github.com/libsdl-org/SDL/pull/13904 --- src/dialog/windows/SDL_windowsdialog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dialog/windows/SDL_windowsdialog.c b/src/dialog/windows/SDL_windowsdialog.c index 4ae24fea3f..ebaf78288f 100644 --- a/src/dialog/windows/SDL_windowsdialog.c +++ b/src/dialog/windows/SDL_windowsdialog.c @@ -19,14 +19,14 @@ 3. This notice may not be removed or altered from any source distribution. */ #include "SDL_internal.h" +#include "../../core/windows/SDL_windows.h" #include "../SDL_dialog.h" #include "../SDL_dialog_utils.h" -#include +#include #include #include #include -#include "../../core/windows/SDL_windows.h" #include "../../thread/SDL_systhread.h" #if WINVER < _WIN32_WINNT_VISTA