summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorEnrico Weigelt, metux IT consult <info@metux.net>2024-03-04 20:02:18 +0100
committerMarge Bot <emma+marge@anholt.net>2024-04-23 01:46:24 +0000
commit8982344e53cb5954a65fdf0e95d17a7f2bc6142a (patch)
tree435c4b1b329897b11702132a0444b459bd5848b4 /hw
parent140b75298a46836102a1617855742f53fbe73751 (diff)
include: move dbus-core.h to config
This header is internal (not installed) and holds definitions for sources in config/, thus it fells more clean moving it to config/, too. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1357>
Diffstat (limited to 'hw')
-rw-r--r--hw/xfree86/common/xf86Init.c2
-rw-r--r--hw/xfree86/os-support/linux/systemd-logind.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/hw/xfree86/common/xf86Init.c b/hw/xfree86/common/xf86Init.c
index 54f8dd76e..93f14318d 100644
--- a/hw/xfree86/common/xf86Init.c
+++ b/hw/xfree86/common/xf86Init.c
@@ -49,6 +49,7 @@
#include <X11/Xproto.h>
#include <X11/Xatom.h>
+#include "config/dbus-core.h"
#include "dix/screenint_priv.h"
#include "os/cmdline.h"
#include "os/osdep.h"
@@ -58,7 +59,6 @@
#include "windowstr.h"
#include "scrnintstr.h"
#include "mi.h"
-#include "dbus-core.h"
#include "systemd-logind.h"
#include "loaderProcs.h"
diff --git a/hw/xfree86/os-support/linux/systemd-logind.c b/hw/xfree86/os-support/linux/systemd-logind.c
index 16a9df675..c6a24fc7b 100644
--- a/hw/xfree86/os-support/linux/systemd-logind.c
+++ b/hw/xfree86/os-support/linux/systemd-logind.c
@@ -32,8 +32,9 @@
#include <sys/types.h>
#include <unistd.h>
+#include "config/dbus-core.h"
+
#include "os.h"
-#include "dbus-core.h"
#include "linux.h"
#include "xf86.h"
#include "xf86platformBus.h"