From cd84b3eaf338ae59c7184a65ef44bb112a4ab66b Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Mon, 18 Mar 2024 15:11:08 +0100 Subject: [PATCH] xfree86: modesettig: fix missing include of It's much cleaner to always include directly what one needs, instead of relying on very indirect including. Signed-off-by: Enrico Weigelt, metux IT consult Part-of: --- hw/xfree86/drivers/modesetting/dri2.c | 2 ++ hw/xfree86/drivers/modesetting/driver.c | 2 ++ hw/xfree86/drivers/modesetting/pageflip.c | 2 ++ hw/xfree86/drivers/modesetting/vblank.c | 2 ++ 4 files changed, 8 insertions(+) diff --git a/hw/xfree86/drivers/modesetting/dri2.c b/hw/xfree86/drivers/modesetting/dri2.c index 34ddec424..f2094a910 100644 --- a/hw/xfree86/drivers/modesetting/dri2.c +++ b/hw/xfree86/drivers/modesetting/dri2.c @@ -36,7 +36,9 @@ #include "dix-config.h" #endif +#include #include + #include "list.h" #include "xf86.h" #include "driver.h" diff --git a/hw/xfree86/drivers/modesetting/driver.c b/hw/xfree86/drivers/modesetting/driver.c index cf2d4cfe4..b33091cdc 100644 --- a/hw/xfree86/drivers/modesetting/driver.c +++ b/hw/xfree86/drivers/modesetting/driver.c @@ -36,8 +36,10 @@ #include "dix-config.h" #endif +#include #include #include + #include "xf86.h" #include "xf86Priv.h" #include "xf86_OSproc.h" diff --git a/hw/xfree86/drivers/modesetting/pageflip.c b/hw/xfree86/drivers/modesetting/pageflip.c index f6903adb2..f0b8d5919 100644 --- a/hw/xfree86/drivers/modesetting/pageflip.c +++ b/hw/xfree86/drivers/modesetting/pageflip.c @@ -24,6 +24,8 @@ #include "dix-config.h" #endif +#include + #include #include diff --git a/hw/xfree86/drivers/modesetting/vblank.c b/hw/xfree86/drivers/modesetting/vblank.c index c7aeb9f16..c89aa3f17 100644 --- a/hw/xfree86/drivers/modesetting/vblank.c +++ b/hw/xfree86/drivers/modesetting/vblank.c @@ -29,7 +29,9 @@ #include "dix-config.h" #endif +#include #include + #include #include #include "driver.h"