From a0b52a0dff1e69f85e0095c58e3bda0b588caf45 Mon Sep 17 00:00:00 2001 From: Dominique Martinet Date: Tue, 27 Mar 2018 09:19:44 +0200 Subject: Fix x11 backend Need to include wlr/config.h before using the various WLR_HAS_xxx defines --- backend/backend.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'backend/backend.c') 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 #include #include +#include +#include + +/* WLR_HAS_X11_BACKEND needs to be after wlr/config.h */ #ifdef WLR_HAS_X11_BACKEND #include #endif -#include void wlr_backend_init(struct wlr_backend *backend, const struct wlr_backend_impl *impl) { -- cgit v1.2.3