mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
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>
This commit is contained in:
parent
c6b35ac4c4
commit
15a2cb7b70
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue