From 6c897756b6340d098f50eeb0da0d39abda87fdda Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Fri, 25 Nov 2022 17:36:24 +0100 Subject: build: use a configuration file for internal features This avoids re-building the whole project when switching one Meson option. This shrinks down the compiler invocation command line, making it more readable and making it easier to inspect which flags are passed in (the generated file can be opened). Additionally this is more consistent with our external feature handling, which uses already. --- include/xwayland/xwm.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/xwayland') diff --git a/include/xwayland/xwm.h b/include/xwayland/xwm.h index 391e09ab..7ed97b15 100644 --- a/include/xwayland/xwm.h +++ b/include/xwayland/xwm.h @@ -5,10 +5,12 @@ #include #include #include +#include "config.h" +#include "xwayland/selection.h" + #if HAS_XCB_ERRORS #include #endif -#include "xwayland/selection.h" /* This is in xcb/xcb_event.h, but pulling xcb-util just for a constant * others redefine anyway is meh -- cgit v1.2.3