aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fallback.h8
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