summaryrefslogtreecommitdiff
path: root/src/components/voiceinfobox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/voiceinfobox.cpp')
-rw-r--r--src/components/voiceinfobox.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/components/voiceinfobox.cpp b/src/components/voiceinfobox.cpp
index 456c5f0..b870794 100644
--- a/src/components/voiceinfobox.cpp
+++ b/src/components/voiceinfobox.cpp
@@ -1,6 +1,8 @@
-#include "voiceinfobox.hpp"
-#include "abaddon.hpp"
-#include "util.hpp"
+#ifdef WITH_VOICE
+
+ #include "voiceinfobox.hpp"
+ #include "abaddon.hpp"
+ #include "util.hpp"
VoiceInfoBox::VoiceInfoBox()
: Gtk::Box(Gtk::ORIENTATION_HORIZONTAL)
@@ -97,3 +99,5 @@ VoiceInfoBox::VoiceInfoBox()
show_all_children();
}
+
+#endif