[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] vhost.c: include <linux/vhost.h> last
From: |
Marcelo Tosatti |
Subject: |
[Qemu-devel] vhost.c: include <linux/vhost.h> last |
Date: |
Thu, 8 Apr 2010 17:49:50 -0300 |
User-agent: |
Mutt/1.5.20 (2009-08-17) |
So the userspace headers define KERNEL_STRICT_NAMES and there's no
conflict on type definition for older kernels.
igned-off-by: Marcelo Tosatti <address@hidden>
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 <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,
- [Qemu-devel] vhost.c: include <linux/vhost.h> last,
Marcelo Tosatti <=