Add bbt_add that does not take Metric parameter.
[ardour.git] / libs / pbd / stacktrace.cc
index 39dd46be3d523c1399c321de692ed1c6f8c2970d..9eb74e4a30873111448a3895bde276cc2db9dd36 100644 (file)
@@ -17,7 +17,8 @@
 
 */
 
-#include <pbd/stacktrace.h>
+#include "pbd/stacktrace.h"
+#include <cstdio>
 #include <iostream>
 
 void
@@ -30,7 +31,6 @@ PBD::trace_twb ()
 #ifdef HAVE_EXECINFO
 
 #include <execinfo.h>
-#include <cstdlib>
 
 void
 PBD::stacktrace (std::ostream& out, int levels)
@@ -58,7 +58,7 @@ PBD::stacktrace (std::ostream& out, int levels)
 #else
 
 void
-PBD::stacktrace (std::ostream& out, int levels)
+PBD::stacktrace (std::ostream& out, int /*levels*/)
 {
        out << "stack tracing is not enabled on this platform" << std::endl;
 }