summaryrefslogtreecommitdiffstats
path: root/src/client/qwaylandcursor_p.h
diff options
context:
space:
mode:
authorTasuku Suzuki <tasuku.suzuki@qt.io>2017-01-13 20:19:17 +0900
committerTasuku Suzuki <tasuku.suzuki@qt.io>2017-01-13 14:25:20 +0000
commitcab7cb98d5b9530a3c265cc2436dd7d157e43f66 (patch)
treef17e25ec2bf58922fa83afc4e35c282fa0724a0e /src/client/qwaylandcursor_p.h
parent479a487066484809ebdf3c2c16b3c87c72870483 (diff)
Fix build without feature.cursor
Change-Id: If244e7ac58133ae6fbefacfa243d47fa210140be Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/client/qwaylandcursor_p.h')
-rw-r--r--src/client/qwaylandcursor_p.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/qwaylandcursor_p.h b/src/client/qwaylandcursor_p.h
index a7d188f56..97921f9cc 100644
--- a/src/client/qwaylandcursor_p.h
+++ b/src/client/qwaylandcursor_p.h
@@ -55,6 +55,8 @@
#include <QtCore/QMap>
#include <QtWaylandClient/qtwaylandclientglobal.h>
+#if QT_CONFIG(cursor)
+
struct wl_cursor;
struct wl_cursor_image;
struct wl_cursor_theme;
@@ -128,4 +130,5 @@ private:
QT_END_NAMESPACE
+#endif // cursor
#endif // QWAYLANDCURSOR_H