From: Consolatis <35009135+Consolatis@users.noreply.github.com> Date: Fri, 29 Sep 2023 00:29:30 +0000 (+0200) Subject: src/view.c: guard xwayland include X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=607c295527c36d9709776d27d833514a63400d17;p=proto%2Flabwc.git src/view.c: guard xwayland include Fixes: #1118 --- diff --git a/src/view.c b/src/view.c index 23b345fe..6e41f382 100644 --- a/src/view.c +++ b/src/view.c @@ -2,7 +2,6 @@ #include #include #include -#include #include "common/mem.h" #include "common/scene-helpers.h" #include "labwc.h" @@ -15,6 +14,10 @@ #include "workspaces.h" #include "xwayland.h" +#if HAVE_XWAYLAND +#include +#endif + #define LAB_MIN_VIEW_WIDTH 100 #define LAB_MIN_VIEW_HEIGHT 60 #define LAB_FALLBACK_WIDTH 640