summaryrefslogtreecommitdiffstats
path: root/src/PatchageEvent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/PatchageEvent.cpp')
-rw-r--r--src/PatchageEvent.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/PatchageEvent.cpp b/src/PatchageEvent.cpp
index 53dd612..1c1f755 100644
--- a/src/PatchageEvent.cpp
+++ b/src/PatchageEvent.cpp
@@ -22,11 +22,10 @@
#include "PatchageModule.hpp"
#include "PatchageEvent.hpp"
#include "Driver.hpp"
-#ifdef HAVE_JACK
-#include "JackDriver.hpp"
-#endif
-#ifdef HAVE_JACK_DBUS
+#if defined(HAVE_JACK_DBUS)
#include "JackDbusDriver.hpp"
+#elif defined(HAVE_JACK)
+#include "JackDriver.hpp"
#endif
#ifdef HAVE_ALSA
#include "AlsaDriver.hpp"