summaryrefslogtreecommitdiffstats
path: root/src/dbus/qdbusthreaddebug_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dbus/qdbusthreaddebug_p.h')
-rw-r--r--src/dbus/qdbusthreaddebug_p.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/dbus/qdbusthreaddebug_p.h b/src/dbus/qdbusthreaddebug_p.h
index 2748dcd..e8d90c5 100644
--- a/src/dbus/qdbusthreaddebug_p.h
+++ b/src/dbus/qdbusthreaddebug_p.h
@@ -52,6 +52,10 @@
// We mean it.
//
+#include <QtCore/qglobal.h>
+
+#ifndef QT_NO_DBUS
+
#if !defined(QDBUS_THREAD_DEBUG) && defined(QT_BUILD_INTERNAL)
# define QDBUS_THREAD_DEBUG 1
#endif
@@ -227,4 +231,5 @@ struct QDBusWatchAndTimeoutLocker: QDBusMutexLocker
# define SEM_RELEASE(action, sem) sem.release()
#endif
+#endif // QT_NO_DBUS
#endif