diff options
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | src/engine/JackDriver.cpp | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index a2ff7e6..48f24a0 100644 --- a/configure.ac +++ b/configure.ac @@ -70,7 +70,7 @@ if test "$with_jack" = "yes"; then AC_DEFINE(HAVE_JACK_MIDI, 1, [Has Jack MIDI]) AC_JACK_MIDI_NFRAMES_CHECK() if test "$jackmidi_nframes" = "yes"; then - CFLAGS+="-DJACK_MIDI_NEEDS_NFRAMES" + AC_DEFINE([JACK_MIDI_NEEDS_NFRAMES], 1, [Defined if we JACK MIDI functions need nframes parameter.]) fi fi diff --git a/src/engine/JackDriver.cpp b/src/engine/JackDriver.cpp index e56aa4b..6d7ae6a 100644 --- a/src/engine/JackDriver.cpp +++ b/src/engine/JackDriver.cpp @@ -19,6 +19,7 @@ #include <iomanip> #include "machina/JackDriver.hpp" #include "machina/MidiAction.hpp" +#include "../config.h" #include "jack_compat.h" using namespace Raul; |