summaryrefslogtreecommitdiffstats
path: root/lib/zebra.h
diff options
context:
space:
mode:
authorpaul <paul>2003-06-04 09:40:54 +0000
committerpaul <paul>2003-06-04 09:40:54 +0000
commitb1cafeb826881570794c0c6dba3bedeb83618f09 (patch)
tree2b6d2034bc7b606b1a03c81d45eeee1f64f4a55f /lib/zebra.h
parent0f6cc8d121baa121dc3e690e48fe40ab9d35b904 (diff)
downloadquagga-b1cafeb826881570794c0c6dba3bedeb83618f09.tar.bz2
quagga-b1cafeb826881570794c0c6dba3bedeb83618f09.tar.xz
Paul Jakma:
lib/debug.{c,h}: glibc backtrace printing function (from the glibc info page) configure.ac: check for glibc backtrace and set define lib/zebra.h: glibc backtrace support
Diffstat (limited to 'lib/zebra.h')
-rw-r--r--lib/zebra.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/zebra.h b/lib/zebra.h
index 7b1e8011..62566cf8 100644
--- a/lib/zebra.h
+++ b/lib/zebra.h
@@ -172,6 +172,10 @@ typedef int socklen_t;
#include <libutil.h>
#endif /* HAVE_LIBUTIL_H */
+#ifdef HAVE_GLIBC_BACKTRACE
+#include <execinfo.h>
+#endif /* HAVE_GLIBC_BACKTRACE */
+
#ifdef BSDI_NRL
#ifdef HAVE_NETINET6_IN6_H