From 4f6864e851d112fa4d68ed623c1a924c276e1ea1 Mon Sep 17 00:00:00 2001 From: Bruno Lopes Date: Fri, 28 Nov 2025 17:06:36 -0300 Subject: [PATCH] app: Fix disordered windows.h include on display and gui sources The headers provided by Windows SDK do not work disordered. Somehow, MINGW is more lenient regarding that error. --- app/display/gimpimagewindow.c | 2 +- app/gui/gui.c | 2 +- app/gui/splash.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/display/gimpimagewindow.c b/app/display/gimpimagewindow.c index e271826994..bb9d80e8a2 100644 --- a/app/display/gimpimagewindow.c +++ b/app/display/gimpimagewindow.c @@ -23,9 +23,9 @@ #include #ifdef G_OS_WIN32 +#include #include #include -#include #endif #include "libgimpbase/gimpbase.h" diff --git a/app/gui/gui.c b/app/gui/gui.c index 289f4fda66..5fb6cd8238 100644 --- a/app/gui/gui.c +++ b/app/gui/gui.c @@ -89,9 +89,9 @@ #include "themes.h" #ifdef G_OS_WIN32 +#include #include #include -#include #endif #ifdef GDK_WINDOWING_QUARTZ diff --git a/app/gui/splash.c b/app/gui/splash.c index eeb9958625..90d31829fe 100644 --- a/app/gui/splash.c +++ b/app/gui/splash.c @@ -26,9 +26,9 @@ #endif #ifdef G_OS_WIN32 +#include #include #include -#include #endif #include "libgimpbase/gimpbase.h"