diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libmissing.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/libmissing.h b/include/libmissing.h index c765f6d..0196033 100644 --- a/include/libmissing.h +++ b/include/libmissing.h @@ -1,11 +1,13 @@ #ifndef LIBMISSING_H #define LIBMISSING_H -#ifdef HAVE_EXECINFO +#include "config.h" + +#ifdef HAVE_EXECINFO_H #include <execinfo.h> #endif -#ifndef HAVE_EXECINFO +#ifndef HAVE_EXECINFO_H 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); |