diff options
author | emersion <contact@emersion.fr> | 2018-04-03 13:12:52 -0400 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-04-03 13:12:52 -0400 |
commit | 60f07ee3210993d2b8437d908a9f7a7518d7f0b5 (patch) | |
tree | 516c9f02267a763c1164f5a692800b7c0e1104a7 /backend | |
parent | d88f3c1eb33df8df5649177660ae3b9f51d5921a (diff) |
backend/x11: fix WLR_HAS_XCB_XKB always undefined
Diffstat (limited to 'backend')
-rw-r--r-- | backend/x11/input_device.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/backend/x11/input_device.c b/backend/x11/input_device.c index 32b1a1ac..6c7c444c 100644 --- a/backend/x11/input_device.c +++ b/backend/x11/input_device.c @@ -1,3 +1,4 @@ +#include <wlr/config.h> #include <wlr/interfaces/wlr_input_device.h> #include <wlr/interfaces/wlr_keyboard.h> #include <wlr/interfaces/wlr_pointer.h> @@ -8,6 +9,9 @@ #elif __FreeBSD__ #include <dev/evdev/input-event-codes.h> #endif +#ifdef WLR_HAS_XCB_XKB +#include <xcb/xkb.h> +#endif #include "backend/x11.h" #include "util/signal.h" |