summaryrefslogtreecommitdiff
path: root/src/client/qwaylanddataoffer_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/qwaylanddataoffer_p.h')
-rw-r--r--src/client/qwaylanddataoffer_p.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/client/qwaylanddataoffer_p.h b/src/client/qwaylanddataoffer_p.h
index 5e635c1a..96799c86 100644
--- a/src/client/qwaylanddataoffer_p.h
+++ b/src/client/qwaylanddataoffer_p.h
@@ -53,9 +53,10 @@
#include <QtGui/private/qdnd_p.h>
-#include <QtWaylandClient/qwaylandclientexport.h>
+#include <QtWaylandClient/qtwaylandclientglobal.h>
#include <QtWaylandClient/private/qwayland-wayland.h>
+#if QT_CONFIG(draganddrop)
QT_BEGIN_NAMESPACE
namespace QtWaylandClient {
@@ -105,5 +106,5 @@ private:
}
QT_END_NAMESPACE
-
+#endif // draganddrop
#endif