aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPascal Pascher <pascalpascher@gmx.net>2018-07-25 12:17:10 +0200
committerPascal Pascher <pascalpascher@gmx.net>2018-07-25 12:17:10 +0200
commit79a45d4a4049e3b9235915cd308ed2995623f833 (patch)
tree11c0f4b2eb4338b6ace9f519cc21328d68918b8e /include
parent2bf893248a94c7f70a9557aad4a8228731041eeb (diff)
more style fixes, included "sway/config.h" where needed
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