[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 06/10] exec/ramblock: Add missing includes
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 06/10] exec/ramblock: Add missing includes |
Date: |
Thu, 3 Feb 2022 20:37:59 +0100 |
Add missing includes to avoid when refactoring include/
include/exec/ramblock.h:26:21: error: field has incomplete type 'struct
rcu_head'
struct rcu_head rcu;
^
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
include/exec/ramblock.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/exec/ramblock.h b/include/exec/ramblock.h
index 664701b759..6cbedf9e0c 100644
--- a/include/exec/ramblock.h
+++ b/include/exec/ramblock.h
@@ -21,6 +21,8 @@
#ifndef CONFIG_USER_ONLY
#include "cpu-common.h"
+#include "qemu/rcu.h"
+#include "exec/ramlist.h"
struct RAMBlock {
struct rcu_head rcu;
--
2.34.1
- [PATCH 03/10] hw/s390x/virtio: Add missing 'cpu.h' include, (continued)
- [PATCH 03/10] hw/s390x/virtio: Add missing 'cpu.h' include, Philippe Mathieu-Daudé, 2022/02/03
- [PATCH 04/10] hw/acpi/memory_hotplug: Remove unused 'hw/acpi/pc-hotplug.h' header, Philippe Mathieu-Daudé, 2022/02/03
- [PATCH 05/10] qtest: Add missing 'hw/qdev-core.h' include, Philippe Mathieu-Daudé, 2022/02/03
- [PATCH 06/10] exec/ramblock: Add missing includes,
Philippe Mathieu-Daudé <=
- [PATCH 08/10] target: Add missing "qemu/timer.h" include, Philippe Mathieu-Daudé, 2022/02/03
- [PATCH 09/10] linux-user: Add missing "qemu/timer.h" include, Philippe Mathieu-Daudé, 2022/02/03
- [PATCH 07/10] core/ptimers: Remove unnecessary 'sysemu/cpus.h' include, Philippe Mathieu-Daudé, 2022/02/03