aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backend/backend.c5
-rw-r--r--include/xwayland/xwm.h1
-rw-r--r--rootston/input.c1
-rw-r--r--rootston/output.c1
4 files changed, 7 insertions, 1 deletions
diff --git a/backend/backend.c b/backend/backend.c
index 02b0b9af..52344dac 100644
--- a/backend/backend.c
+++ b/backend/backend.c
@@ -11,10 +11,13 @@
#include <wlr/backend/multi.h>
#include <wlr/backend/session.h>
#include <wlr/backend/wayland.h>
+#include <wlr/config.h>
+#include <wlr/util/log.h>
+
+/* WLR_HAS_X11_BACKEND needs to be after wlr/config.h */
#ifdef WLR_HAS_X11_BACKEND
#include <wlr/backend/x11.h>
#endif
-#include <wlr/util/log.h>
void wlr_backend_init(struct wlr_backend *backend,
const struct wlr_backend_impl *impl) {
diff --git a/include/xwayland/xwm.h b/include/xwayland/xwm.h
index 4b15cc84..9e21ea3a 100644
--- a/include/xwayland/xwm.h
+++ b/include/xwayland/xwm.h
@@ -2,6 +2,7 @@
#define XWAYLAND_XWM_H
#include <wayland-server-core.h>
+#include <wlr/config.h>
#include <wlr/xwayland.h>
#include <xcb/render.h>
diff --git a/rootston/input.c b/rootston/input.c
index 962be9fa..3e1b06fb 100644
--- a/rootston/input.c
+++ b/rootston/input.c
@@ -2,6 +2,7 @@
#include <stdlib.h>
#include <wayland-server.h>
#include <wlr/backend/libinput.h>
+#include <wlr/config.h>
#include <wlr/types/wlr_cursor.h>
#include <wlr/util/log.h>
#include <wlr/xcursor.h>
diff --git a/rootston/output.c b/rootston/output.c
index 8d6444d6..52ece54d 100644
--- a/rootston/output.c
+++ b/rootston/output.c
@@ -3,6 +3,7 @@
#include <stdbool.h>
#include <stdlib.h>
#include <time.h>
+#include <wlr/config.h>
#include <wlr/types/wlr_matrix.h>
#include <wlr/types/wlr_compositor.h>
#include <wlr/types/wlr_output_layout.h>