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,