blob: c765f6d84fe4881f464336a66edf6ea20373000b [file] [log] [blame]
#ifndef LIBMISSING_H
#define LIBMISSING_H
#ifdef HAVE_EXECINFO
#include <execinfo.h>
#endif
#ifndef HAVE_EXECINFO
int backtrace(void **buffer, int size);
char **backtrace_symbols(void *const *buffer, int size);
void backtrace_symbols_fd(void *const *buffer, int size, int fd);
#endif
#endif /* LIBMISSING_H */