aboutsummaryrefslogtreecommitdiff
path: root/tests/test-io-task.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2020-05-04 13:56:55 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2020-06-10 12:09:37 -0400
commit78f8d4975c5d035e2e2447e6e499629b96142db0 (patch)
tree64ccc52a46856977f5d5bf0ec20cc3aabda6c713 /tests/test-io-task.c
parentca27b5eb7cdd112ed465bd757358af4c06e135ea (diff)
downloadqemu-78f8d4975c5d035e2e2447e6e499629b96142db0.zip
qemu-78f8d4975c5d035e2e2447e6e499629b96142db0.tar.gz
qemu-78f8d4975c5d035e2e2447e6e499629b96142db0.tar.bz2
io/task: Move 'qom/object.h' header to source
We need "qom/object.h" to call object_ref()/object_unref(), and to test the TYPE_DUMMY. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20200504115656.6045-3-f4bug@amsat.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tests/test-io-task.c')
-rw-r--r--tests/test-io-task.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test-io-task.c b/tests/test-io-task.c
index aa8b653..c8a3813 100644
--- a/tests/test-io-task.c
+++ b/tests/test-io-task.c
@@ -20,6 +20,7 @@
#include "qemu/osdep.h"
+#include "qom/object.h"
#include "io/task.h"
#include "qapi/error.h"
#include "qemu/module.h"