]> git.proxmox.com Git - qemu.git/commitdiff
vhost.c: include <linux/vhost.h> last
authorMarcelo Tosatti <mtosatti@redhat.com>
Thu, 8 Apr 2010 20:49:50 +0000 (17:49 -0300)
committerAurelien Jarno <aurelien@aurel32.net>
Tue, 13 Apr 2010 22:12:04 +0000 (00:12 +0200)
So the userspace headers define KERNEL_STRICT_NAMES and there's no
conflict on type definition for older kernels.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
hw/vhost.c

index ad2f98a8a331351709221f2fe8353a67ba193c5c..d37a66e0ea3864b427fa7aca964b410bc337f53e 100644 (file)
  * the COPYING file in the top-level directory.
  */
 
-#include <linux/vhost.h>
 #include <sys/ioctl.h>
 #include <sys/eventfd.h>
 #include "vhost.h"
 #include "hw/hw.h"
 /* For range_get_last */
 #include "pci.h"
+#include <linux/vhost.h>
 
 static void vhost_dev_sync_region(struct vhost_dev *dev,
                                   uint64_t mfirst, uint64_t mlast,