From e20752775197d3606c50703422d2c5d53ecf54bb Mon Sep 17 00:00:00 2001 From: Leon Alrae Date: Wed, 17 Jun 2015 13:35:00 +0100 Subject: [PATCH] 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 Acked-by: Alex Williamson Message-id: 1434544500-22405-1-git-send-email-leon.alrae@imgtec.com Signed-off-by: Peter Maydell --- hw/vfio/platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 #include +#include #include "hw/vfio/vfio-platform.h" #include "qemu/error-report.h"