From f4b90697ce1f53d46a7b8943c8d5881590170456 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Tue, 9 Dec 2025 17:53:11 +0100 Subject: [PATCH] xfree86: fix include of xf86VGAarbiter_priv.h Needs to be included also in non-pciaccess case, so the dummy functions are declared. Signed-off-by: Enrico Weigelt, metux IT consult --- hw/xfree86/common/xf86Bus.c | 3 +-- hw/xfree86/common/xf86DPMS.c | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/hw/xfree86/common/xf86Bus.c b/hw/xfree86/common/xf86Bus.c index 8bd29795f4..883d668006 100644 --- a/hw/xfree86/common/xf86Bus.c +++ b/hw/xfree86/common/xf86Bus.c @@ -52,9 +52,8 @@ #include "xf86platformBus_priv.h" #include "xf86_OSproc.h" -#ifdef XSERVER_LIBPCIACCESS #include "xf86VGAarbiter_priv.h" -#endif + /* Entity data */ EntityPtr *xf86Entities = NULL; /* Bus slots claimed by drivers */ int xf86NumEntities = 0; diff --git a/hw/xfree86/common/xf86DPMS.c b/hw/xfree86/common/xf86DPMS.c index f3dc4cc746..e0eed3b4cb 100644 --- a/hw/xfree86/common/xf86DPMS.c +++ b/hw/xfree86/common/xf86DPMS.c @@ -44,9 +44,7 @@ #include #include "dpmsproc.h" #endif -#ifdef XSERVER_LIBPCIACCESS #include "xf86VGAarbiter_priv.h" -#endif #ifdef DPMSExtension static void