aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/sway/server.h1
-rw-r--r--include/sway/xwayland.h2
2 files changed, 1 insertions, 2 deletions
diff --git a/include/sway/server.h b/include/sway/server.h
index b6a6bde3..a3782f91 100644
--- a/include/sway/server.h
+++ b/include/sway/server.h
@@ -12,6 +12,7 @@
#include <wlr/render/wlr_renderer.h>
// TODO WLR: make Xwayland optional
#include "list.h"
+#include "config.h"
#ifdef HAVE_XWAYLAND
#include "sway/xwayland.h"
#endif
diff --git a/include/sway/xwayland.h b/include/sway/xwayland.h
index e6572ae9..78d1053b 100644
--- a/include/sway/xwayland.h
+++ b/include/sway/xwayland.h
@@ -1,4 +1,3 @@
-#ifdef HAVE_XWAYLAND
#ifndef SWAY_XWAYLAND_H
#define SWAY_XWAYLAND_H
@@ -24,4 +23,3 @@ struct sway_xwayland {
void handle_xwayland_ready(struct wl_listener *listener, void *data);
#endif
-#endif