Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorc_14 <git@c-14.de>2019-10-03 18:13:13 +0300
committerc_14 <git@c-14.de>2019-10-03 18:13:13 +0300
commit6ae06f41d9b68b8cc1d1ec08b7846f264c2a4854 (patch)
treec9cf659508baf9bdacecf92368e53a811f0baca3
parentdf62e500e1e8a87692ec174b74ff744d99200b1f (diff)
Add include guards for builds without dbus
This commit adds include guards around a QDBusInterface include added in commit 15831dbca without the appropriate guards.
-rw-r--r--src/mumble/Log_unix.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mumble/Log_unix.cpp b/src/mumble/Log_unix.cpp
index 11953b79e..1cf31bc18 100644
--- a/src/mumble/Log_unix.cpp
+++ b/src/mumble/Log_unix.cpp
@@ -7,7 +7,9 @@
#include "MainWindow.h"
#include "Settings.h"
+#ifdef USE_DBUS
#include <QtDBus/QDBusInterface>
+#endif
// We define a global macro called 'g'. This can lead to issues when included code uses 'g' as a type or parameter name (like protobuf 3.7 does). As such, for now, we have to make this our last include.
#include "Global.h"