Merge pull request #809 from emersion/x11-backend-fix-has-xcb-xkb

backend/x11: fix WLR_HAS_XCB_XKB always undefined
This commit is contained in:
Drew DeVault 2018-04-03 13:26:53 -04:00 committed by GitHub
commit 31c6ce13cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,4 @@
#include <wlr/config.h>
#include <wlr/interfaces/wlr_input_device.h> #include <wlr/interfaces/wlr_input_device.h>
#include <wlr/interfaces/wlr_keyboard.h> #include <wlr/interfaces/wlr_keyboard.h>
#include <wlr/interfaces/wlr_pointer.h> #include <wlr/interfaces/wlr_pointer.h>
@ -8,6 +9,9 @@
#elif __FreeBSD__ #elif __FreeBSD__
#include <dev/evdev/input-event-codes.h> #include <dev/evdev/input-event-codes.h>
#endif #endif
#ifdef WLR_HAS_XCB_XKB
#include <xcb/xkb.h>
#endif
#include "backend/x11.h" #include "backend/x11.h"
#include "util/signal.h" #include "util/signal.h"