summaryrefslogtreecommitdiff
path: root/include/sway/xwayland.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway/xwayland.h')
-rw-r--r--include/sway/xwayland.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sway/xwayland.h b/include/sway/xwayland.h
index 78d1053b..e6572ae9 100644
--- a/include/sway/xwayland.h
+++ b/include/sway/xwayland.h
@@ -1,3 +1,4 @@
+#ifdef HAVE_XWAYLAND
#ifndef SWAY_XWAYLAND_H
#define SWAY_XWAYLAND_H
@@ -23,3 +24,4 @@ struct sway_xwayland {
void handle_xwayland_ready(struct wl_listener *listener, void *data);
#endif
+#endif