about summary refs log tree commit diff
path: root/include/execinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/execinfo.h')
-rw-r--r--include/execinfo.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/execinfo.h b/include/execinfo.h
index d5c52164d2..143a9cc4ce 100644
--- a/include/execinfo.h
+++ b/include/execinfo.h
@@ -1 +1,11 @@
+#ifndef _EXECINFO_H
 #include <debug/execinfo.h>
+
+extern int __backtrace (void **__array, int __size);
+
+extern char **__backtrace_symbols (void *__const *__array, int __size);
+
+extern void __backtrace_symbols_fd (void *__const *__array, int __size,
+				    int __fd);
+
+#endif