diff options
author | Leon Alrae <leon.alrae@imgtec.com> | 2015-06-17 13:35:00 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2015-06-18 10:35:59 +0100 |
commit | e20752775197d3606c50703422d2c5d53ecf54bb (patch) | |
tree | 86ac23abe53f85421a9ab64bba1b59f7f2bb8f34 /hw/vfio/platform.c | |
parent | f754c3c9cce3c4789733d9068394be4256dfe6a8 (diff) |
vfio: fix build error on CentOS 5.7
Include linux/vfio.h after sys/ioctl.h, just like in hw/vfio/common.c.
Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
Acked-by: Alex Williamson <alex.williamson@redhat.com>
Message-id: 1434544500-22405-1-git-send-email-leon.alrae@imgtec.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/vfio/platform.c')
-rw-r--r-- | hw/vfio/platform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/vfio/platform.c b/hw/vfio/platform.c index 9382bb7f36..5c678b914e 100644 --- a/hw/vfio/platform.c +++ b/hw/vfio/platform.c @@ -14,8 +14,8 @@ * Copyright Red Hat, Inc. 2012 */ -#include <linux/vfio.h> #include <sys/ioctl.h> +#include <linux/vfio.h> #include "hw/vfio/vfio-platform.h" #include "qemu/error-report.h" |