Fix sigc building.
[ardour.git] / libs / midi++2 / mtc.cc
index 1da9ae6e36550d311e13b42957a9b26e7e09df2f..13f52219290b0f8d653cd9b85ce6ad0a07f6f626 100644 (file)
@@ -18,6 +18,7 @@
     $Id$
 */
 
+#include <cstring>
 #include <cstdlib>
 #include <unistd.h>
 #include <string>
@@ -264,6 +265,7 @@ Parser::process_mtc_quarter_frame (byte *msg)
                
                _qtr_mtc_time[3] |= ((msg[1] & 0x1) << 4);
                _mtc_fps = MTC_FPS ((msg[1] & 0x6) >> 1);
+               _qtr_mtc_time[4] = _mtc_fps;
                break;
 
        default: