contrib/elf2dmp: fix elf.h including

Before this patch QEMU elf.h was not actually included.

Signed-off-by: Viktor Prutyanov <viktor.prutyanov@phystech.edu>
Message-Id: <20181220012441.13694-2-viktor.prutyanov@phystech.edu>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Viktor Prutyanov 2018-12-20 04:24:36 +03:00 committed by Paolo Bonzini
parent c29b48db1d
commit e53f3466e3

View File

@ -5,10 +5,10 @@
*
*/
#ifndef QEMU_ELF_H
#define QEMU_ELF_H
#ifndef ELF2DMP_ELF_H
#define ELF2DMP_ELF_H
#include <elf.h>
#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 */