diff options
author | Marcelo Tosatti <mtosatti@redhat.com> | 2010-04-08 17:49:50 -0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2010-04-11 20:16:28 +0300 |
commit | 15a2cb7b70b8d55f650bd51d25b4aebc39186934 (patch) | |
tree | 3db111d50e3a1530ff35e23ed629336ecf13c8ab /hw | |
parent | c6b35ac4c47290561b072a34f7bf1fdbc540a4a3 (diff) |
vhost.c: include <linux/vhost.h> 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 <mtosatti@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/vhost.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/vhost.c b/hw/vhost.c index ad2f98a8a3..d37a66e0ea 100644 --- a/hw/vhost.c +++ b/hw/vhost.c @@ -10,13 +10,13 @@ * 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, |