summaryrefslogtreecommitdiff
path: root/lib/zebra.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2024-01-04 14:20:40 -0500
committerDonald Sharp <sharpd@nvidia.com>2024-01-04 14:20:40 -0500
commitfbc31156f0ae2d1a345994e2de95166e28fa70ac (patch)
tree871d1b76993c8676a9b7611d0cee923631fbb45a /lib/zebra.h
parenta57379fa140ee48da521061f358b34ebc6ea7875 (diff)
lib: HAVE_GLIBC_BACKTRACE does not belong in zebra.h
The backtrace functionality has been abstracted over to zlog_backtrace(). Now that every place uses this move the inclusion for HAVE_GLIBC_BACKTRACE into the appropriate files instead of having everyone pay for this costly include. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/zebra.h')
-rw-r--r--lib/zebra.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/zebra.h b/lib/zebra.h
index a7db00b16e..f838990b30 100644
--- a/lib/zebra.h
+++ b/lib/zebra.h
@@ -156,10 +156,6 @@
#define UINT32_MAX (4294967295U)
#endif
-#ifdef HAVE_GLIBC_BACKTRACE
-#include <execinfo.h>
-#endif /* HAVE_GLIBC_BACKTRACE */
-
/* Local includes: */
#if !defined(__GNUC__)
#define __attribute__(x)