From abe5eda0f09e1925d29f8b9c2b131f0c7abb082b Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Thu, 15 Jun 2023 18:48:13 +0800 Subject: [PATCH] gtkprintoperation-win32.c: Fix build Include the needed headers so that we don't break the build with C4013 warnings, which are treated as errors if msvc_recommended_pragmas.h is found during build configuration. --- gtk/print/gtkprintoperation-win32.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gtk/print/gtkprintoperation-win32.c b/gtk/print/gtkprintoperation-win32.c index a68ecfc2b6..a563953ab7 100644 --- a/gtk/print/gtkprintoperation-win32.c +++ b/gtk/print/gtkprintoperation-win32.c @@ -44,6 +44,8 @@ #include "gtkprintoperation-private.h" #include "gtkprint-win32.h" +#include "gtkprivate.h" +#include "gdkprivate.h" #include "win32/gdkprivate-win32.h" #define MAX_PAGE_RANGES 20