aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--qom/container.c2
-rw-r--r--qom/object.c1
-rw-r--r--qom/object_interfaces.c1
-rw-r--r--qom/qom-qobject.c1
4 files changed, 4 insertions, 1 deletions
diff --git a/qom/container.c b/qom/container.c
index 62b1648add..c9eb49b01e 100644
--- a/qom/container.c
+++ b/qom/container.c
@@ -10,9 +10,9 @@
* See the COPYING file in the top-level directory.
*/
+#include "qemu/osdep.h"
#include "qom/object.h"
#include "qemu/module.h"
-#include <assert.h>
static const TypeInfo container_info = {
.name = "container",
diff --git a/qom/object.c b/qom/object.c
index 5ff97ab91e..5904081ba9 100644
--- a/qom/object.c
+++ b/qom/object.c
@@ -10,6 +10,7 @@
* See the COPYING file in the top-level directory.
*/
+#include "qemu/osdep.h"
#include "qom/object.h"
#include "qom/object_interfaces.h"
#include "qemu-common.h"
diff --git a/qom/object_interfaces.c b/qom/object_interfaces.c
index a66cd6026c..f1218f0cc1 100644
--- a/qom/object_interfaces.c
+++ b/qom/object_interfaces.c
@@ -1,3 +1,4 @@
+#include "qemu/osdep.h"
#include "qom/object_interfaces.h"
#include "qemu/module.h"
diff --git a/qom/qom-qobject.c b/qom/qom-qobject.c
index 964989065b..9cbc4c69a6 100644
--- a/qom/qom-qobject.c
+++ b/qom/qom-qobject.c
@@ -9,6 +9,7 @@
* See the COPYING file in the top-level directory.
*/
+#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qom/object.h"
#include "qom/qom-qobject.h"