Index: gtk2_ardour/port_matrix_component.h
===================================================================
--- gtk2_ardour/port_matrix_component.h	(revision 5097)
+++ gtk2_ardour/port_matrix_component.h	(working copy)
@@ -20,6 +20,7 @@
 #ifndef __gtk_ardour_port_matrix_component_h__
 #define __gtk_ardour_port_matrix_component_h__
 
+#include <stdint.h>
 #include <gtkmm/eventbox.h>
 
 class PortMatrix;
Index: gtk2_ardour/lineset.h
===================================================================
--- gtk2_ardour/lineset.h	(revision 5097)
+++ gtk2_ardour/lineset.h	(working copy)
@@ -18,6 +18,7 @@
 #ifndef __gnome_canvas_lineset_h__
 #define __gnome_canvas_lineset_h__
 
+#include <stdint.h>
 #include <libgnomecanvasmm/item.h>
 
 namespace Gnome {
Index: libs/evoral/test/SMFTest.hpp
===================================================================
--- libs/evoral/test/SMFTest.hpp	(revision 5097)
+++ libs/evoral/test/SMFTest.hpp	(working copy)
@@ -17,6 +17,7 @@
  */
 
 #include <cassert>
+#include <stdint.h>
 #include <sigc++/sigc++.h>
 #include <cppunit/TestFixture.h>
 #include <cppunit/extensions/HelperMacros.h>
Index: libs/evoral/src/Sequence.cpp
===================================================================
--- libs/evoral/src/Sequence.cpp	(revision 5097)
+++ libs/evoral/src/Sequence.cpp	(working copy)
@@ -23,6 +23,7 @@
 #include <limits>
 #include <stdexcept>
 #include <stdint.h>
+#include <cstdio>
 #include "evoral/Control.hpp"
 #include "evoral/ControlList.hpp"
 #include "evoral/ControlSet.hpp"
Index: libs/midi++2/midifactory.cc
===================================================================
--- libs/midi++2/midifactory.cc	(revision 5097)
+++ libs/midi++2/midifactory.cc	(working copy)
@@ -18,6 +18,7 @@
 */
 
 #include <cassert>
+#include <stdint.h>
 
 #include "pbd/error.h"
 #include "pbd/convert.h"
Index: libs/ardour/filename_extensions.cc
===================================================================
--- libs/ardour/filename_extensions.cc	(revision 5097)
+++ libs/ardour/filename_extensions.cc	(working copy)
@@ -1,5 +1,6 @@
 #include "ardour/filename_extensions.h"
 
+#include <stdint.h>
 #include "i18n.h"
 
 namespace ARDOUR {                       
Index: libs/ardour/ardour/directory_names.h
===================================================================
--- libs/ardour/ardour/directory_names.h	(revision 5097)
+++ libs/ardour/ardour/directory_names.h	(working copy)
@@ -3,6 +3,7 @@
 #define __ardour_directory_names_h__
 
 #include <string>
+#include <stdint.h>
 
 namespace ARDOUR {
 
Index: libs/ardour/session_utils.cc
===================================================================
--- libs/ardour/session_utils.cc	(revision 5097)
+++ libs/ardour/session_utils.cc	(working copy)
@@ -1,6 +1,7 @@
 
 #include "pbd/error.h"
 
+#include <stdint.h>
 #include "ardour/session_directory.h"
 
 #include "i18n.h"
Index: libs/ardour/event_type_map.cc
===================================================================
--- libs/ardour/event_type_map.cc	(revision 5097)
+++ libs/ardour/event_type_map.cc	(working copy)
@@ -18,6 +18,7 @@
 
 */
 
+#include <cstdio>
 #include "ardour/types.h"
 #include "ardour/event_type_map.h"
 #include "evoral/Parameter.hpp"
Index: libs/ardour/import.cc
===================================================================
--- libs/ardour/import.cc	(revision 5097)
+++ libs/ardour/import.cc	(working copy)
@@ -25,6 +25,7 @@
 #include <unistd.h>
 #include <sys/stat.h>
 #include <time.h>
+#include <stdint.h>
 
 #include <sndfile.h>
 #include <samplerate.h>
Index: libs/pbd/shortpath.cc
===================================================================
--- libs/pbd/shortpath.cc	(revision 5097)
+++ libs/pbd/shortpath.cc	(working copy)
@@ -17,6 +17,7 @@
 
 */
 
+#include <stdint.h>
 #include "pbd/shortpath.h"
 
 using namespace Glib;
Index: libs/pbd/convert.cc
===================================================================
--- libs/pbd/convert.cc	(revision 5097)
+++ libs/pbd/convert.cc	(working copy)
@@ -20,6 +20,7 @@
 #include <cmath>
 #include <stdint.h>
 #include <stdlib.h>
+#include <cstdio>
 #ifndef __STDC_FORMAT_MACROS
 #define __STDC_FORMAT_MACROS
 #endif
Index: libs/pbd/stacktrace.cc
===================================================================
--- libs/pbd/stacktrace.cc	(revision 5097)
+++ libs/pbd/stacktrace.cc	(working copy)
@@ -18,6 +18,7 @@
 */
 
 #include "pbd/stacktrace.h"
+#include <cstdio>
 #include <iostream>
 
 void
Index: libs/pbd/pbd/convert.h
===================================================================
--- libs/pbd/pbd/convert.h	(revision 5097)
+++ libs/pbd/pbd/convert.h	(working copy)
@@ -20,6 +20,7 @@
 #ifndef __pbd_convert_h__
 #define __pbd_convert_h__
 
+#include <stdint.h>
 #include <string>
 #include <vector>
 #include <sstream>
