diff options
author | Marcelo Tosatti <mtosatti@redhat.com> | 2010-04-08 17:49:50 -0300 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2010-04-14 00:12:04 +0200 |
commit | 11078ae37f71eb64b4e1406af868a21ea676f184 (patch) | |
tree | f80559416dc876cd10e0289f56e60ab00bd0f834 | |
parent | 5751995a20e77cd9d61d00f7390401895fa172a6 (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>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
-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, |