summaryrefslogtreecommitdiffstats
path: root/src/engine/JackDriver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/JackDriver.cpp')
-rw-r--r--src/engine/JackDriver.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/engine/JackDriver.cpp b/src/engine/JackDriver.cpp
index 5b1342cf..5f7a7d83 100644
--- a/src/engine/JackDriver.cpp
+++ b/src/engine/JackDriver.cpp
@@ -30,6 +30,8 @@
#include "raul/log.hpp"
#include "raul/List.hpp"
+#include "lv2/lv2plug.in/ns/ext/event/event.h"
+
#include "AudioBuffer.hpp"
#include "ControlBindings.hpp"
#include "DuplexPort.hpp"
@@ -201,7 +203,7 @@ JackDriver::JackDriver(Engine& engine)
, _root_patch(NULL)
{
_midi_event_type = _engine.world()->uris()->uri_to_id(
- NULL, "http://lv2plug.in/ns/ext/midi#MidiEvent");
+ LV2_EVENT_URI, "http://lv2plug.in/ns/ext/midi#MidiEvent");
}