From: Leon Alrae Date: Wed, 17 Jun 2015 12:35:00 +0000 (+0100) Subject: vfio: fix build error on CentOS 5.7 X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~129 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e20752775197d3606c50703422d2c5d53ecf54bb;p=sdk%2Femulator%2Fqemu.git 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 --- diff --git a/hw/vfio/platform.c b/hw/vfio/platform.c index 9382bb7..5c678b9 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"