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:
Aneesh Kumar K.V
2011-06-18 21:07:28 +05:30
committed by Will Deacon
parent 60eb42d572
commit 2daa28d40b
+4 -4
View File
@@ -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"