]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
contrib/elf2dmp: fix elf.h including
authorViktor Prutyanov <viktor.prutyanov@phystech.edu>
Thu, 20 Dec 2018 01:24:36 +0000 (04:24 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 5 Feb 2019 15:50:17 +0000 (16:50 +0100)
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>
contrib/elf2dmp/qemu_elf.h

index 86e6e688fb69f3d49c3787da07d06457ec9420c3..da70affaa4dc2ecd51da6b1ee7e4114c59de2735 100644 (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 */