diff options
author | Kurtis Rader <krader@skepticism.us> | 2016-05-03 19:15:27 -0700 |
---|---|---|
committer | Kurtis Rader <krader@skepticism.us> | 2016-05-03 19:15:27 -0700 |
commit | 3ad5c7c2890dca8e75bd116c17d7d9fe5c9ec608 (patch) | |
tree | 386b68cb32fbb29f86828b39165175898208db60 /src | |
parent | fc44cffac50e6096528f2bde456d91a4e40ea7c9 (diff) |
add missing fallback declarations
Fixes #2993
Diffstat (limited to 'src')
-rw-r--r-- | src/fallback.h | 8 |
1 files changed, 8 insertions, 0 deletions
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 |