From 2504bff578c7abdec5b0140cc2a7b2a0c723f48c Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Tue, 30 Jul 2024 14:30:46 +0200 Subject: [PATCH] (!1654) Xnest: add xcb and x11-xcb as dependency In order to transition to XCB, we need to link xcb, but temporarily also x11-xcb. Signed-off-by: Enrico Weigelt, metux IT consult --- hw/xnest/Xnest.h | 1 + hw/xnest/meson.build | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/hw/xnest/Xnest.h b/hw/xnest/Xnest.h index fafb2c876..d6f122416 100644 --- a/hw/xnest/Xnest.h +++ b/hw/xnest/Xnest.h @@ -71,6 +71,7 @@ typedef XID KeySym64; #include #include #include +#include #undef GC #ifdef _XSERVER64_tmp diff --git a/hw/xnest/meson.build b/hw/xnest/meson.build index 1a981b906..9d70f1bdf 100644 --- a/hw/xnest/meson.build +++ b/hw/xnest/meson.build @@ -19,6 +19,9 @@ srcs = [ '../../mi/miinitext.h', ] +x11_xcb_dep = dependency('x11-xcb', required: true) +xcb_dep = dependency('xcb', required: true) + executable( 'Xnest', srcs, @@ -26,6 +29,8 @@ executable( dependencies: [ common_dep, xnest_dep, + xcb_dep, + x11_xcb_dep, ], link_with: [ libxserver_main,