mirror of
https://github.com/clearlinux/kvmtool.git
synced 2026-08-28 18:15:41 +00:00
tools/kvm/9p: Always include system header before kernel headers
Otherwise many things can break, such as mapping of stat to stat64 Cc: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
This commit is contained in:
committed by
Will Deacon
parent
60eb42d572
commit
2daa28d40b
+4
-4
@@ -10,16 +10,16 @@
|
||||
#include "kvm/irq.h"
|
||||
#include "kvm/ioeventfd.h"
|
||||
|
||||
#include <linux/virtio_ring.h>
|
||||
#include <linux/virtio_9p.h>
|
||||
#include <net/9p/9p.h>
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <pthread.h>
|
||||
#include <dirent.h>
|
||||
|
||||
#include <linux/virtio_ring.h>
|
||||
#include <linux/virtio_9p.h>
|
||||
#include <net/9p/9p.h>
|
||||
|
||||
#define NUM_VIRT_QUEUES 1
|
||||
#define VIRTIO_P9_QUEUE_SIZE 128
|
||||
#define VIRTIO_P9_DEFAULT_TAG "kvm_9p"
|
||||
|
||||
Reference in New Issue
Block a user