From: Petr Tesarik Subject: Define PN_XNUM if missing Upstream: never, build fix for old distros Older elfutils did not define this constant. Signed-off-by: Petr Tesarik --- elf_info.h | 4 ++++ 1 file changed, 4 insertions(+) Index: makedumpfile-1.7.1/elf_info.h =================================================================== --- makedumpfile-1.7.1.orig/elf_info.h +++ makedumpfile-1.7.1/elf_info.h @@ -19,6 +19,10 @@ #include #include +#ifndef PN_XNUM +#define PN_XNUM 0xffff +#endif + #define KEXEC_CORE_NOTE_NAME "CORE" #define KEXEC_CORE_NOTE_NAME_BYTES sizeof(KEXEC_CORE_NOTE_NAME)