From e6c004eab417f40f3dabf7eae4b432c47976383e Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Thu, 6 Feb 2025 17:18:44 +0100 Subject: [PATCH] (!1936) xwin: fix missing include of mi/mi_priv.h xwin relies on mi_priv.h being included indirectly, thus depending on exact include within other header files. This can easily break if something in other headers slightly changes. Signed-off-by: Enrico Weigelt, metux IT consult --- hw/xwin/winmultiwindowshape.c | 2 ++ hw/xwin/winmultiwindowwindow.c | 2 ++ hw/xwin/winwindow.c | 3 +++ 3 files changed, 7 insertions(+) diff --git a/hw/xwin/winmultiwindowshape.c b/hw/xwin/winmultiwindowshape.c index dba3202d2..268cae74e 100644 --- a/hw/xwin/winmultiwindowshape.c +++ b/hw/xwin/winmultiwindowshape.c @@ -33,6 +33,8 @@ #include #endif +#include "mi/mi_priv.h" + #include "win.h" /* diff --git a/hw/xwin/winmultiwindowwindow.c b/hw/xwin/winmultiwindowwindow.c index 24e226c51..1765344e9 100644 --- a/hw/xwin/winmultiwindowwindow.c +++ b/hw/xwin/winmultiwindowwindow.c @@ -36,6 +36,8 @@ #include #endif +#include "mi/mi_priv.h" + #include "win.h" #include "dixevents.h" #include "winmultiwindowclass.h" diff --git a/hw/xwin/winwindow.c b/hw/xwin/winwindow.c index 60be32da4..fdcfbad44 100644 --- a/hw/xwin/winwindow.c +++ b/hw/xwin/winwindow.c @@ -32,6 +32,9 @@ #ifdef HAVE_XWIN_CONFIG_H #include #endif + +#include "mi/mi_priv.h" + #include "win.h" /*