aboutsummaryrefslogtreecommitdiff
path: root/hw/vfio/pci.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-01-26 18:17:14 +0000
committerPeter Maydell <peter.maydell@linaro.org>2016-01-29 15:07:24 +0000
commitc6eacb1ac00a89abc6c3f4170895bcc3a1b8c240 (patch)
tree923edfaeaf2b61e9f39b5c8740431eb32b911804 /hw/vfio/pci.c
parent47df5154c352415c7487691374fd8284e6a2eb7c (diff)
downloadqemu-c6eacb1ac00a89abc6c3f4170895bcc3a1b8c240.zip
qemu-c6eacb1ac00a89abc6c3f4170895bcc3a1b8c240.tar.gz
qemu-c6eacb1ac00a89abc6c3f4170895bcc3a1b8c240.tar.bz2
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 <peter.maydell@linaro.org> Message-id: 1453832250-766-22-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'hw/vfio/pci.c')
-rw-r--r--hw/vfio/pci.c5
1 files changed, 1 insertions, 4 deletions
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"