diff options
Diffstat (limited to 'include/backend/x11.h')
-rw-r--r-- | include/backend/x11.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/backend/x11.h b/include/backend/x11.h index 9c0c1a4d..704d48f1 100644 --- a/include/backend/x11.h +++ b/include/backend/x11.h @@ -9,10 +9,6 @@ #include <xcb/xcb.h> #include <xcb/present.h> -#if HAS_XCB_ERRORS -#include <xcb/xcb_errors.h> -#endif - #include <pixman.h> #include <wlr/backend/x11.h> #include <wlr/interfaces/wlr_keyboard.h> @@ -21,6 +17,12 @@ #include <wlr/types/wlr_pointer.h> #include <wlr/render/drm_format_set.h> +#include "config.h" + +#if HAS_XCB_ERRORS +#include <xcb/xcb_errors.h> +#endif + #define XCB_EVENT_RESPONSE_TYPE_MASK 0x7f struct wlr_x11_backend; |