diff options
Diffstat (limited to 'include/dwarf.h')
-rw-r--r-- | include/dwarf.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/include/dwarf.h b/include/dwarf.h index 1885b9b1..7800567a 100644 --- a/include/dwarf.h +++ b/include/dwarf.h @@ -32,9 +32,21 @@ struct dwarf_cursor; /* forward-declaration */ struct elf_dyn_info; #include "dwarf-config.h" + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #ifndef UNW_REMOTE_ONLY -#include <link.h> + #if defined(HAVE_LINK_H) + #include <link.h> + #elif defined(HAVE_SYS_LINK_H) + #include <sys/link.h> + #else + #error Could not find <link.h> + #endif #endif + #include <pthread.h> /* DWARF expression opcodes. */ |