From 3ad5c7c2890dca8e75bd116c17d7d9fe5c9ec608 Mon Sep 17 00:00:00 2001 From: Kurtis Rader Date: Tue, 3 May 2016 19:15:27 -0700 Subject: add missing fallback declarations Fixes #2993 --- src/fallback.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src') diff --git a/src/fallback.h b/src/fallback.h index ca7a671b..59eba224 100644 --- a/src/fallback.h +++ b/src/fallback.h @@ -270,4 +270,12 @@ long sysconf(int name); double nan(char *tagp); #endif +#ifndef HAVE_BACKTRACE +int backtrace(void **buffer, int size); +#endif + +#ifndef HAVE_BACKTRACE_SYMBOLS_FD +char **backtrace_symbols_fd(void *const *buffer, int size, int fd); +#endif + #endif -- cgit v1.2.3