diff options
author | c_14 <git@c-14.de> | 2019-10-03 18:13:13 +0300 |
---|---|---|
committer | c_14 <git@c-14.de> | 2019-10-03 18:13:13 +0300 |
commit | 6ae06f41d9b68b8cc1d1ec08b7846f264c2a4854 (patch) | |
tree | c9cf659508baf9bdacecf92368e53a811f0baca3 | |
parent | df62e500e1e8a87692ec174b74ff744d99200b1f (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.cpp | 2 |
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" |