diff --git a/libbacktrace/config.h b/libbacktrace/config.h index 7ab5a937..aa3259d1 100644 --- a/libbacktrace/config.h +++ b/libbacktrace/config.h @@ -14,7 +14,9 @@ #define HAVE_ATOMIC_FUNCTIONS 1 #define HAVE_DECL_STRNLEN 1 -#ifdef BSD +#ifdef __APPLE__ +# define HAVE_MACH_O_DYLD_H 1 +#elif defined BSD # define HAVE_KERN_PROC 1 # define HAVE_KERN_PROC_ARGS 1 #endif