aboutsummaryrefslogtreecommitdiff
path: root/softmmu/qtest.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2022-02-07 09:27:51 +0100
committerThomas Huth <thuth@redhat.com>2022-02-21 10:18:06 +0100
commit496bde821a482f631bbedb2e3ce48af4bfd498d1 (patch)
treeaef9db5237acd8cfe11b115a866d8f052fefbbdb /softmmu/qtest.c
parent57482172d514c5528cf2931e9f736b6e6f8dcedd (diff)
qtest: Add missing 'hw/qdev-core.h' include
Add "hw/qdev-core.h" to avoid when refactoring include/: softmmu/qtest.c:404:9: error: use of undeclared identifier 'NamedGPIOList' NamedGPIOList *ngl; ^ Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20220207082756.82600-5-f4bug@amsat.org> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'softmmu/qtest.c')
-rw-r--r--softmmu/qtest.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/softmmu/qtest.c b/softmmu/qtest.c
index 72751e1fd8..8b7cb6aa8e 100644
--- a/softmmu/qtest.c
+++ b/softmmu/qtest.c
@@ -19,6 +19,7 @@
#include "chardev/char-fe.h"
#include "exec/ioport.h"
#include "exec/memory.h"
+#include "hw/qdev-core.h"
#include "hw/irq.h"
#include "qemu/accel.h"
#include "sysemu/cpu-timers.h"