[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 3/7] dump: Correct headers included
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH v4 3/7] dump: Correct headers included |
Date: |
Fri, 24 Feb 2023 00:17:51 +0100 |
"qemu/win_dump_defs.h" is only required by win_dump.c,
but win_dump.h requires "sysemu/dump.h" which declares
the DumpState type.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
dump/win_dump.c | 1 +
dump/win_dump.h | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/dump/win_dump.c b/dump/win_dump.c
index f20b6051b6..12b7da5da0 100644
--- a/dump/win_dump.c
+++ b/dump/win_dump.c
@@ -21,6 +21,7 @@
#include "qapi/qmp/qerror.h"
#include "qemu/error-report.h"
#include "hw/misc/vmcoreinfo.h"
+#include "qemu/win_dump_defs.h"
#include "win_dump.h"
static size_t win_dump_ptr_size(bool x64)
diff --git a/dump/win_dump.h b/dump/win_dump.h
index b8c25348f4..56f63683c3 100644
--- a/dump/win_dump.h
+++ b/dump/win_dump.h
@@ -11,7 +11,7 @@
#ifndef WIN_DUMP_H
#define WIN_DUMP_H
-#include "qemu/win_dump_defs.h"
+#include "sysemu/dump.h"
void create_win_dump(DumpState *s, Error **errp);
--
2.38.1
- [PATCH v4 0/7] dump: Make most of it target agnostic (build once), Philippe Mathieu-Daudé, 2023/02/23
- [PATCH v4 1/7] dump: Replace tswapN() -> cpu_to_dumpN(), Philippe Mathieu-Daudé, 2023/02/23
- [PATCH v4 2/7] dump: Replace TARGET_PAGE_SIZE -> qemu_target_page_size(), Philippe Mathieu-Daudé, 2023/02/23
- [PATCH v4 3/7] dump: Correct headers included,
Philippe Mathieu-Daudé <=
- [PATCH v4 4/7] dump: Introduce win_dump_available(), Philippe Mathieu-Daudé, 2023/02/23
- [PATCH v4 5/7] dump: Introduce create_win_dump(), Philippe Mathieu-Daudé, 2023/02/23
- [PATCH v4 6/7] dump: Build once by adding stubs for non-x86 targets, Philippe Mathieu-Daudé, 2023/02/23