diff options
author | paul <paul> | 2003-06-04 09:40:54 +0000 |
---|---|---|
committer | paul <paul> | 2003-06-04 09:40:54 +0000 |
commit | fb2d1502bb0893f2aaccb49fb39521974078d96a (patch) | |
tree | 0d3059d875d2be20913eaceaed12c8c09ec2b481 /lib/zebra.h | |
parent | 97e34b88b39abdef4ba0581574d315ef7ddb1a86 (diff) |
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.h | 4 |
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 |