From: Viktor Prutyanov Date: Thu, 20 Dec 2018 01:24:36 +0000 (+0300) Subject: contrib/elf2dmp: fix elf.h including X-Git-Tag: v4.0.0-rc0~114^2~50 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e53f3466e3233a66e3d77f1ee53c330c29179fcc;p=thirdparty%2Fqemu.git contrib/elf2dmp: fix elf.h including Before this patch QEMU elf.h was not actually included. Signed-off-by: Viktor Prutyanov Message-Id: <20181220012441.13694-2-viktor.prutyanov@phystech.edu> Signed-off-by: Paolo Bonzini --- diff --git a/contrib/elf2dmp/qemu_elf.h b/contrib/elf2dmp/qemu_elf.h index 86e6e688fb6..da70affaa4d 100644 --- a/contrib/elf2dmp/qemu_elf.h +++ b/contrib/elf2dmp/qemu_elf.h @@ -5,10 +5,10 @@ * */ -#ifndef QEMU_ELF_H -#define QEMU_ELF_H +#ifndef ELF2DMP_ELF_H +#define ELF2DMP_ELF_H -#include +#include "elf.h" typedef struct QEMUCPUSegment { uint32_t selector; @@ -47,4 +47,4 @@ void QEMU_Elf_exit(QEMU_Elf *qe); Elf64_Phdr *elf64_getphdr(void *map); Elf64_Half elf_getphdrnum(void *map); -#endif /* QEMU_ELF_H */ +#endif /* ELF2DMP_ELF_H */