From: Peter Maydell Date: Tue, 26 Jan 2016 18:17:14 +0000 (+0000) Subject: hw/vfio: Clean up includes X-Git-Tag: v2.6.0-rc0~177 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c6eacb1ac00a89abc6c3f4170895bcc3a1b8c240;p=thirdparty%2Fqemu.git hw/vfio: 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 Message-id: 1453832250-766-22-git-send-email-peter.maydell@linaro.org --- diff --git a/hw/vfio/calxeda-xgmac.c b/hw/vfio/calxeda-xgmac.c index eb914f0d0bc..bb15d588e52 100644 --- a/hw/vfio/calxeda-xgmac.c +++ b/hw/vfio/calxeda-xgmac.c @@ -11,6 +11,7 @@ * */ +#include "qemu/osdep.h" #include "hw/vfio/vfio-calxeda-xgmac.h" static void calxeda_xgmac_realize(DeviceState *dev, Error **errp) diff --git a/hw/vfio/common.c b/hw/vfio/common.c index 6797208cc12..607ec70be39 100644 --- a/hw/vfio/common.c +++ b/hw/vfio/common.c @@ -18,6 +18,7 @@ * Copyright (C) 2008, IBM, Muli Ben-Yehuda (muli@il.ibm.com) */ +#include "qemu/osdep.h" #include #include #include diff --git a/hw/vfio/pci-quirks.c b/hw/vfio/pci-quirks.c index e117c41fbe6..48155277c6e 100644 --- a/hw/vfio/pci-quirks.c +++ b/hw/vfio/pci-quirks.c @@ -10,6 +10,7 @@ * the COPYING file in the top-level directory. */ +#include "qemu/osdep.h" #include "pci.h" #include "trace.h" #include "qemu/range.h" diff --git a/hw/vfio/pci.c b/hw/vfio/pci.c index e66c47ff6ae..49f3d2d2392 100644 --- a/hw/vfio/pci.c +++ b/hw/vfio/pci.c @@ -18,14 +18,11 @@ * Copyright (C) 2008, IBM, Muli Ben-Yehuda (muli@il.ibm.com) */ +#include "qemu/osdep.h" #include #include #include -#include -#include -#include -#include "config.h" #include "hw/pci/msi.h" #include "hw/pci/msix.h" #include "hw/pci/pci_bridge.h" diff --git a/hw/vfio/platform.c b/hw/vfio/platform.c index 289b498ca91..ebc9dcbb993 100644 --- a/hw/vfio/platform.c +++ b/hw/vfio/platform.c @@ -14,6 +14,7 @@ * Copyright Red Hat, Inc. 2012 */ +#include "qemu/osdep.h" #include #include