summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_rulers.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/editor_rulers.cc')
-rw-r--r--gtk2_ardour/editor_rulers.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk2_ardour/editor_rulers.cc b/gtk2_ardour/editor_rulers.cc
index 12b4547747..31871e916b 100644
--- a/gtk2_ardour/editor_rulers.cc
+++ b/gtk2_ardour/editor_rulers.cc
@@ -17,13 +17,16 @@
*/
+#define __STDC_FORMAT_MACROS 1
#include <cstdio> // for sprintf, grrr
#include <cmath>
+#include <inttypes.h>
#include <string>
#include <gtk/gtkaction.h>
+#include "ardour/session.h"
#include "ardour/tempo.h"
#include "ardour/profile.h"
#include <gtkmm2ext/gtk_ui.h>