aboutsummaryrefslogtreecommitdiff
path: root/backend/backend.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend/backend.c')
-rw-r--r--backend/backend.c5
1 files changed, 4 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) {