qom: 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.

Backports commit 9bbc853bd4fc6e4cbdbfc8d52eab0730d3ba94ba from qemu
This commit is contained in:
Peter Maydell 2018-02-19 01:31:32 -05:00 committed by Lioncash
parent 76d3aa92cc
commit 728aabd4c3
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7
4 changed files with 4 additions and 1 deletions

View file

@ -10,9 +10,9 @@
* See the COPYING file in the top-level directory. * See the COPYING file in the top-level directory.
*/ */
#include "qemu/osdep.h"
#include "qom/object.h" #include "qom/object.h"
#include "qemu/module.h" #include "qemu/module.h"
#include <assert.h>
static const TypeInfo container_info = { static const TypeInfo container_info = {
"container", "container",

View file

@ -18,6 +18,7 @@
* <http://www.gnu.org/licenses/gpl-2.0.html> * <http://www.gnu.org/licenses/gpl-2.0.html>
*/ */
#include "qemu/osdep.h"
#include "qemu-common.h" #include "qemu-common.h"
#include "qemu/log.h" #include "qemu/log.h"
#include "uc_priv.h" #include "uc_priv.h"

View file

@ -10,6 +10,7 @@
* See the COPYING file in the top-level directory. * See the COPYING file in the top-level directory.
*/ */
#include "qemu/osdep.h"
#include "qom/object.h" #include "qom/object.h"
#include "qemu-common.h" #include "qemu-common.h"
#include "qapi/visitor.h" #include "qapi/visitor.h"

View file

@ -9,6 +9,7 @@
* See the COPYING file in the top-level directory. * See the COPYING file in the top-level directory.
*/ */
#include "qemu/osdep.h"
#include "qemu-common.h" #include "qemu-common.h"
#include "qom/object.h" #include "qom/object.h"
#include "qom/qom-qobject.h" #include "qom/qom-qobject.h"