]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
tools/kvm/9p: Always include system header before kernel headers
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Sat, 18 Jun 2011 15:37:28 +0000 (21:07 +0530)
committerPekka Enberg <penberg@kernel.org>
Sun, 19 Jun 2011 09:03:49 +0000 (12:03 +0300)
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>
tools/kvm/virtio/9p.c

index 3158cbc29f2e3fbdcb11accde80ff9ce45591e25..add63fe11aed2f6b69349720eb64b5dc46b17f7e 100644 (file)
 #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"