summaryrefslogtreecommitdiffstats
path: root/hw/core/qdev.c
diff options
context:
space:
mode:
authorPeter Maydell2016-01-26 19:17:29 +0100
committerPeter Maydell2016-01-29 16:07:25 +0100
commit18c86e2b9d85a89818f485c2cadafa6e3932e43a (patch)
tree81ddfa18c61329f8e1458d62c87974d38fa41150 /hw/core/qdev.c
parentarm devices: Clean up includes (diff)
downloadqemu-18c86e2b9d85a89818f485c2cadafa6e3932e43a.tar.gz
qemu-18c86e2b9d85a89818f485c2cadafa6e3932e43a.tar.xz
qemu-18c86e2b9d85a89818f485c2cadafa6e3932e43a.zip
hw/core: Clean up includes
Clean up includes so that osdep.h is included first and headers which it implies are not included manually. This commit was created with scripts/clean-includes. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 1453832250-766-37-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'hw/core/qdev.c')
-rw-r--r--hw/core/qdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/core/qdev.c b/hw/core/qdev.c
index 655f5d5d5b..779de2ba93 100644
--- a/hw/core/qdev.c
+++ b/hw/core/qdev.c
@@ -25,10 +25,10 @@
inherit from a particular bus (e.g. PCI or I2C) rather than
this API directly. */
+#include "qemu/osdep.h"
#include "hw/qdev.h"
#include "hw/fw-path-provider.h"
#include "sysemu/sysemu.h"
-#include "qapi/error.h"
#include "qapi/qmp/qerror.h"
#include "qapi/visitor.h"
#include "qapi/qmp/qjson.h"