aboutsummaryrefslogtreecommitdiff
path: root/io
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 /io
parentca27b5eb7cdd112ed465bd757358af4c06e135ea (diff)
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 'io')
-rw-r--r--io/task.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/io/task.c b/io/task.c
index 1ae7b86488..53c0bed686 100644
--- a/io/task.c
+++ b/io/task.c
@@ -22,6 +22,7 @@
#include "io/task.h"
#include "qapi/error.h"
#include "qemu/thread.h"
+#include "qom/object.h"
#include "trace.h"
struct QIOTaskThreadData {