diff options
author | Luiz Angelo Daros de Luca <luizluca@gmail.com> | 2016-12-29 21:02:57 -0200 |
---|---|---|
committer | Mark Wielaard <mark@klomp.org> | 2016-12-30 00:54:22 +0100 |
commit | 925f67e86d127c8917f92bde1cf5abd5b07d0768 (patch) | |
tree | 7f02cf2f425a679e925bd7a0602e74361dd39f79 /libdwfl | |
parent | 8b3b2180318facd002fced2dd148c8777b473d72 (diff) | |
download | elfutils-925f67e86d127c8917f92bde1cf5abd5b07d0768.tar.gz |
Fix TEMP_FAILURE_RETRY definition when not defined.
https://sourceware.org/bugzilla/show_bug.cgi?id=21001
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
Diffstat (limited to 'libdwfl')
-rw-r--r-- | libdwfl/ChangeLog | 6 | ||||
-rw-r--r-- | libdwfl/dwfl_build_id_find_elf.c | 1 | ||||
-rw-r--r-- | libdwfl/dwfl_module_getdwarf.c | 1 | ||||
-rw-r--r-- | libdwfl/libdwfl_crc32_file.c | 1 |
4 files changed, 8 insertions, 1 deletions
diff --git a/libdwfl/ChangeLog b/libdwfl/ChangeLog index bc627fee..57671eaf 100644 --- a/libdwfl/ChangeLog +++ b/libdwfl/ChangeLog @@ -1,3 +1,9 @@ +2016-12-29 Luiz Angelo Daros de Luca <luizluca@gmail.com> + + * dwfl_build_id_find_elf.c: Include system.h. + * dwfl_module_getdwarf.c: Likewise. + * libdwfl_crc32_file.c: Don't define LIB_SYSTEM_H. + 2016-11-23 Mark Wielaard <mjw@redhat.com> * linux-kernel-modules.c: Only include fts.h early if BAD_FTS is diff --git a/libdwfl/dwfl_build_id_find_elf.c b/libdwfl/dwfl_build_id_find_elf.c index 903e1931..d4737c9f 100644 --- a/libdwfl/dwfl_build_id_find_elf.c +++ b/libdwfl/dwfl_build_id_find_elf.c @@ -30,6 +30,7 @@ #include <inttypes.h> #include <fcntl.h> #include <unistd.h> +#include "system.h" int diff --git a/libdwfl/dwfl_module_getdwarf.c b/libdwfl/dwfl_module_getdwarf.c index 0e8810b1..46caece5 100644 --- a/libdwfl/dwfl_module_getdwarf.c +++ b/libdwfl/dwfl_module_getdwarf.c @@ -33,6 +33,7 @@ #include <unistd.h> #include "../libdw/libdwP.h" /* DWARF_E_* values are here. */ #include "../libelf/libelfP.h" +#include "system.h" static inline Dwfl_Error open_elf_file (Elf **elf, int *fd, char **name) diff --git a/libdwfl/libdwfl_crc32_file.c b/libdwfl/libdwfl_crc32_file.c index 6b6b7d3f..f849128d 100644 --- a/libdwfl/libdwfl_crc32_file.c +++ b/libdwfl/libdwfl_crc32_file.c @@ -31,6 +31,5 @@ #define crc32_file attribute_hidden __libdwfl_crc32_file #define crc32 __libdwfl_crc32 -#define LIB_SYSTEM_H 1 #include <libdwflP.h> #include "../lib/crc32_file.c" |