From patchwork Thu Apr 8 20:49:50 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: vhost.c: include last Date: Thu, 08 Apr 2010 10:49:50 -0000 From: Marcelo Tosatti X-Patchwork-Id: 49767 Message-Id: <20100408204950.GD25347@amt.cnet> To: qemu-devel@nongnu.org Cc: "Michael S. Tsirkin" So the userspace headers define KERNEL_STRICT_NAMES and there's no conflict on type definition for older kernels. igned-off-by: Marcelo Tosatti diff --git a/hw/vhost.c b/hw/vhost.c index ad2f98a..d37a66e 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,