[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 1/6] contrib/elf2dmp: fix elf.h including
From: |
Viktor Prutyanov |
Subject: |
[Qemu-devel] [PATCH v2 1/6] contrib/elf2dmp: fix elf.h including |
Date: |
Thu, 20 Dec 2018 04:24:36 +0300 |
Before this patch QEMU elf.h was not actually included.
Signed-off-by: Viktor Prutyanov <address@hidden>
---
contrib/elf2dmp/qemu_elf.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/contrib/elf2dmp/qemu_elf.h b/contrib/elf2dmp/qemu_elf.h
index d85d6558fa..19d1299954 100644
--- a/contrib/elf2dmp/qemu_elf.h
+++ b/contrib/elf2dmp/qemu_elf.h
@@ -5,11 +5,11 @@
*
*/
-#ifndef QEMU_ELF_H
-#define QEMU_ELF_H
+#ifndef ELF2DMP_ELF_H
+#define ELF2DMP_ELF_H
#include <stdint.h>
-#include <elf.h>
+#include "elf.h"
typedef struct QEMUCPUSegment {
uint32_t selector;
@@ -48,4 +48,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 */
--
2.17.2
- [Qemu-devel] [PATCH v2 0/6] contrib/elf2dmp: elf2dmp for Windows hosts, Viktor Prutyanov, 2018/12/19
- [Qemu-devel] [PATCH v2 6/6] configure: enable elf2dmp build for Windows hosts, Viktor Prutyanov, 2018/12/19
- [Qemu-devel] [PATCH v2 4/6] contrib/elf2dmp: fix structures definitions, Viktor Prutyanov, 2018/12/19
- [Qemu-devel] [PATCH v2 2/6] contrib/elf2dmp: use GLib in ELF processing, Viktor Prutyanov, 2018/12/19
- [Qemu-devel] [PATCH v2 3/6] contrib/elf2dmp: use GLib in PDB processing, Viktor Prutyanov, 2018/12/19
- [Qemu-devel] [PATCH v2 1/6] contrib/elf2dmp: fix elf.h including,
Viktor Prutyanov <=
- [Qemu-devel] [PATCH v2 5/6] contrib/elf2dmp: fix printf format, Viktor Prutyanov, 2018/12/19