diff options
author | OBATA Akio <obache@wizdas.com> | 2020-08-16 18:15:33 +0900 |
---|---|---|
committer | OBATA Akio <obache@wizdas.com> | 2020-08-17 11:24:30 +0900 |
commit | 2167207adc49b498536a5a8533c27fc67e0c6e9c (patch) | |
tree | d00433343d58c044a2231df6c55fde1813e8058f /tdecore | |
parent | 24045f55ce52cd0622a0b78e6cd36b99e11f39ac (diff) | |
download | tdelibs-2167207adc49b498536a5a8533c27fc67e0c6e9c.tar.gz tdelibs-2167207adc49b498536a5a8533c27fc67e0c6e9c.zip |
Allow to use backtrace(3) external library for kdebug
Signed-off-by: OBATA Akio <obache@wizdas.com>
Diffstat (limited to 'tdecore')
-rw-r--r-- | tdecore/kdebug.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tdecore/kdebug.cpp b/tdecore/kdebug.cpp index d906f67fc..9cc32225c 100644 --- a/tdecore/kdebug.cpp +++ b/tdecore/kdebug.cpp @@ -59,7 +59,11 @@ #include <config.h> #ifdef HAVE_BACKTRACE -#include <execinfo.h> +#include BACKTRACE_H + +#ifdef HAVE_DLFCN_H +#include <dlfcn.h> +#endif #ifdef HAVE_ABI_CXA_DEMANGLE #include <cxxabi.h> |