diff options
Diffstat (limited to 'libs/midi++2/mmc.cc')
-rw-r--r-- | libs/midi++2/mmc.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libs/midi++2/mmc.cc b/libs/midi++2/mmc.cc index b93dc0f260..a3f8f01fe4 100644 --- a/libs/midi++2/mmc.cc +++ b/libs/midi++2/mmc.cc @@ -22,6 +22,7 @@ #include <map> #include "timecode/time.h" +#include "timecode/bbt_time.h" #include "pbd/error.h" @@ -33,6 +34,13 @@ using namespace std; using namespace MIDI; using namespace PBD; +/** + * As libtimecode is linked statically to libmidi++ this + * is necessary to pull in all the symbols from libtimecode + * so they are exported for other users of libtimecode. + */ +double tmp = Timecode::BBT_Time::ticks_per_beat; + static std::map<int,string> mmc_cmd_map; static void build_mmc_cmd_map () { |