summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--SystemInformation.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/SystemInformation.cxx b/SystemInformation.cxx
index 7c31f3a..2672730 100644
--- a/SystemInformation.cxx
+++ b/SystemInformation.cxx
@@ -88,6 +88,15 @@ typedef int siginfo_t;
# include <ifaddrs.h>
# define KWSYS_SYSTEMINFORMATION_IMPLEMENT_FQDN
# endif
+# if defined(KWSYS_SYSTEMINFORMATION_HAS_BACKTRACE)
+# include <execinfo.h>
+# if defined(KWSYS_SYSTEMINFORMATION_HAS_CPP_DEMANGLE)
+# include <cxxabi.h>
+# endif
+# if defined(KWSYS_SYSTEMINFORMATION_HAS_SYMBOL_LOOKUP)
+# include <dlfcn.h>
+# endif
+# endif
#endif
#if defined(__OpenBSD__) || defined(__NetBSD__)