aboutsummaryrefslogtreecommitdiff
path: root/rootston
diff options
context:
space:
mode:
Diffstat (limited to 'rootston')
-rw-r--r--rootston/input.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/rootston/input.c b/rootston/input.c
index 657b0946..27ad1f6b 100644
--- a/rootston/input.c
+++ b/rootston/input.c
@@ -5,7 +5,9 @@
#include <wlr/types/wlr_cursor.h>
#include <wlr/util/log.h>
#include <wlr/xcursor.h>
-#include <wlr/xwayland.h>
+#ifdef WLR_HAS_XWAYLAND
+# include <wlr/xwayland.h>
+#endif
#include "rootston/config.h"
#include "rootston/input.h"
#include "rootston/keyboard.h"