X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fpbd%2Fpbd%2Fstacktrace.h;h=40275fd536d4ff9c5bf58dff7b5e7caa972b12ec;hb=a459f96e38f569503e6d983808210d9d43a396ec;hp=18f7b993e170ac55963533ec55896391e4b3d7f5;hpb=16d97766465ba87cd69412836d65e68395e84943;p=ardour.git diff --git a/libs/pbd/pbd/stacktrace.h b/libs/pbd/pbd/stacktrace.h index 18f7b993e1..40275fd536 100644 --- a/libs/pbd/pbd/stacktrace.h +++ b/libs/pbd/pbd/stacktrace.h @@ -20,24 +20,24 @@ #ifndef __libpbd_stacktrace_h__ #define __libpbd_stacktrace_h__ +#ifdef HAVE_WAFBUILD +#include "libpbd-config.h" +#endif + #include #include #include #include -namespace PBD { - void stacktrace (std::ostream& out, int levels = 0); - void trace_twb(); - -#ifdef HAVE_WAFCONFIG_H -#include "wafconfig.h" -#endif - #ifdef HAVE_EXECINFO #include -#include +#include #endif +namespace PBD { + void stacktrace (std::ostream& out, int levels = 0); + void trace_twb(); + template class thing_with_backtrace {