From 2cc5c572383239ce0bef1e0b8c4f8e8f024aae70 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Thu, 15 Feb 2024 19:56:08 +0100 Subject: [PATCH] Xnest: cleanup X.h includes It's cleaner to include explicitly instead of relying on indirect includes, thus adding a few more on X.h. Signed-off-by: Enrico Weigelt, metux IT consult Part-of: --- hw/xnest/Args.h | 1 + hw/xnest/Color.h | 1 + hw/xnest/Screen.h | 1 + hw/xnest/Visual.h | 2 ++ 4 files changed, 5 insertions(+) diff --git a/hw/xnest/Args.h b/hw/xnest/Args.h index cce503cb2..2ae2984b4 100644 --- a/hw/xnest/Args.h +++ b/hw/xnest/Args.h @@ -15,6 +15,7 @@ is" without express or implied warranty. #ifndef XNESTARGS_H #define XNESTARGS_H +#include #include extern char *xnestDisplayName; diff --git a/hw/xnest/Color.h b/hw/xnest/Color.h index 480b35cbb..23f17540d 100644 --- a/hw/xnest/Color.h +++ b/hw/xnest/Color.h @@ -15,6 +15,7 @@ is" without express or implied warranty. #ifndef XNESTCOLOR_H #define XNESTCOLOR_H +#include #include #define DUMB_WINDOW_MANAGERS diff --git a/hw/xnest/Screen.h b/hw/xnest/Screen.h index 4ab73c41b..d06338f5a 100644 --- a/hw/xnest/Screen.h +++ b/hw/xnest/Screen.h @@ -15,6 +15,7 @@ is" without express or implied warranty. #ifndef XNESTSCREEN_H #define XNESTSCREEN_H +#include #include extern Window xnestDefaultWindows[MAXSCREENS]; diff --git a/hw/xnest/Visual.h b/hw/xnest/Visual.h index c3ae8a19f..12f19d9ab 100644 --- a/hw/xnest/Visual.h +++ b/hw/xnest/Visual.h @@ -15,6 +15,8 @@ is" without express or implied warranty. #ifndef XNESTVISUAL_H #define XNESTVISUAL_H +#include + Visual *xnestVisual(VisualPtr pVisual); Visual *xnestVisualFromID(ScreenPtr pScreen, VisualID visual); Colormap xnestDefaultVisualColormap(Visual * visual);