diff options
Diffstat (limited to 'hw')
-rw-r--r-- | hw/vfio/calxeda-xgmac.c | 1 | ||||
-rw-r--r-- | hw/vfio/common.c | 1 | ||||
-rw-r--r-- | hw/vfio/pci-quirks.c | 1 | ||||
-rw-r--r-- | hw/vfio/pci.c | 5 | ||||
-rw-r--r-- | hw/vfio/platform.c | 1 |
5 files changed, 5 insertions, 4 deletions
diff --git a/hw/vfio/calxeda-xgmac.c b/hw/vfio/calxeda-xgmac.c index eb914f0..bb15d58 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 6797208..607ec70 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 <sys/ioctl.h> #include <sys/mman.h> #include <linux/vfio.h> diff --git a/hw/vfio/pci-quirks.c b/hw/vfio/pci-quirks.c index e117c41..4815527 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 e66c47f..49f3d2d 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 <linux/vfio.h> #include <sys/ioctl.h> #include <sys/mman.h> -#include <sys/stat.h> -#include <sys/types.h> -#include <unistd.h> -#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 289b498..ebc9dcb 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 <sys/ioctl.h> #include <linux/vfio.h> |