From 3fc5ba6febe3919071a3afb2498ff52b1643e5ca Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Thu, 15 Feb 2024 11:52:38 +0100 Subject: [PATCH] Fix build with wlroots DRM backend disabled The header is not installed by wlroots when the DRM backend is disabled. We don't need it here, so don't include it. Closes: https://github.com/swaywm/sway/issues/7943 (cherry picked from commit ca40663d4277ade2a7dfec0484db5b7881799ee4) --- include/sway/server.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/include/sway/server.h b/include/sway/server.h index ccf4a9cc..433a2985 100644 --- a/include/sway/server.h +++ b/include/sway/server.h @@ -2,6 +2,22 @@ #define _SWAY_SERVER_H #include #include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include #include "config.h" #include "list.h" #include "sway/desktop/idle_inhibit_v1.h"