From: Marcelo Tosatti Date: Thu, 8 Apr 2010 20:49:50 +0000 (-0300) Subject: vhost.c: include last X-Git-Tag: v0.13.0-rc0~805 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=11078ae37f71eb64b4e1406af868a21ea676f184;p=qemu.git vhost.c: include last So the userspace headers define KERNEL_STRICT_NAMES and there's no conflict on type definition for older kernels. Signed-off-by: Marcelo Tosatti Acked-by: Michael S. Tsirkin Signed-off-by: Aurelien Jarno --- diff --git a/hw/vhost.c b/hw/vhost.c index ad2f98a8a..d37a66e0e 100644 --- a/hw/vhost.c +++ b/hw/vhost.c @@ -10,13 +10,13 @@ * the COPYING file in the top-level directory. */ -#include #include #include #include "vhost.h" #include "hw/hw.h" /* For range_get_last */ #include "pci.h" +#include static void vhost_dev_sync_region(struct vhost_dev *dev, uint64_t mfirst, uint64_t mlast,