diff options
author | OBATA Akio <obache@wizdas.com> | 2020-08-16 18:15:33 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-08-17 23:07:26 +0900 |
commit | a6be89461fec308f187f811ad952fc2b4019c561 (patch) | |
tree | 12105b32217b7c8061741bc7a47d4e578a954f35 /tdecore/kdebug.cpp | |
parent | f5a0ae91d37e4b965a3c26c9791e2958bb789754 (diff) | |
download | tdelibs-a6be89461fec308f187f811ad952fc2b4019c561.tar.gz tdelibs-a6be89461fec308f187f811ad952fc2b4019c561.zip |
Allow to use backtrace(3) external library for kdebug
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit 2167207adc49b498536a5a8533c27fc67e0c6e9c)
Diffstat (limited to 'tdecore/kdebug.cpp')
-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> |