vfio: fix build error on CentOS 5.7
authorLeon Alrae <leon.alrae@imgtec.com>
Wed, 17 Jun 2015 12:35:00 +0000 (13:35 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 18 Jun 2015 09:35:59 +0000 (10:35 +0100)
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>
hw/vfio/platform.c

index 9382bb7..5c678b9 100644 (file)
@@ -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"