aboutsummaryrefslogtreecommitdiff
path: root/contrib/elf2dmp/qemu_elf.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/elf2dmp/qemu_elf.h')
-rw-r--r--contrib/elf2dmp/qemu_elf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/elf2dmp/qemu_elf.h b/contrib/elf2dmp/qemu_elf.h
index b2f0d9cbc9..afa75f10b2 100644
--- a/contrib/elf2dmp/qemu_elf.h
+++ b/contrib/elf2dmp/qemu_elf.h
@@ -32,7 +32,9 @@ typedef struct QEMUCPUState {
int is_system(QEMUCPUState *s);
typedef struct QEMU_Elf {
+#ifndef CONFIG_LINUX
GMappedFile *gmf;
+#endif
size_t size;
void *map;
QEMUCPUState **state;