diff --git a/input.cpp b/input.cpp index 6a05f17602..bcdc7c9dc4 100644 --- a/input.cpp +++ b/input.cpp @@ -30,6 +30,9 @@ along with this program. If not, see . #include // TODO: remove xtest #include +#if HAVE_XKB +#include +#endif // system #include #include diff --git a/input.h b/input.h index ca30a06640..bd8c6acb91 100644 --- a/input.h +++ b/input.h @@ -26,13 +26,16 @@ along with this program. If not, see . #include #include #include -#if HAVE_XKB -#include -#endif class QAction; class QKeySequence; +struct xkb_context; +struct xkb_keymap; +struct xkb_state; +typedef uint32_t xkb_mod_index_t; +typedef uint32_t xkb_keysym_t; + namespace KWin { class GlobalShortcutsManager;