changeset 7822 | 7d852afd19da |
7821:314e0c8ed692 | 7822:7d852afd19da |
---|---|
1 # |
|
2 # Add guards for Elf type if libelf is already included. |
|
3 # working with upstreadm to resolve this. |
|
4 # |
|
5 --- a/libdwarf/libdwarf.h.in |
|
6 +++ b/libdwarf/libdwarf.h.in |
|
7 @@ -60,7 +60,9 @@ extern "C" { |
|
8 |
|
9 */ |
|
10 |
|
11 +#ifndef _LIBELF_H |
|
12 typedef struct Elf Elf; |
|
13 +#endif |
|
14 typedef struct Elf* dwarf_elf_handle; |
|
15 |
|
16 /* To enable printing with printf regardless of the |