summaryrefslogtreecommitdiffstats
path: root/src/shared/qwaylandxkb_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/qwaylandxkb_p.h')
-rw-r--r--src/shared/qwaylandxkb_p.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/shared/qwaylandxkb_p.h b/src/shared/qwaylandxkb_p.h
index 230159fbb..6fa1ea45b 100644
--- a/src/shared/qwaylandxkb_p.h
+++ b/src/shared/qwaylandxkb_p.h
@@ -41,9 +41,16 @@
#ifndef QWAYLANDXKB_H
#define QWAYLANDXKB_H
+#include <QtGui/private/qtguiglobal_p.h>
#include <Qt>
#include <QEvent>
+
+#if QT_CONFIG(xkbcommon_evdev)
#include <xkbcommon/xkbcommon.h>
+#else
+typedef quint32 xkb_keysym_t;
+struct xkb_state;
+#endif
#include <utility>