Otherwise many things can break, such as mapping of stat to stat64

Signed-off-by: Aneesh Kumar K.V <[email protected]>
---
 tools/kvm/virtio/9p.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/tools/kvm/virtio/9p.c b/tools/kvm/virtio/9p.c
index 38a997d..918bb81 100644
--- a/tools/kvm/virtio/9p.c
+++ b/tools/kvm/virtio/9p.c
@@ -1,3 +1,9 @@
+#include <fcntl.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <pthread.h>
+#include <dirent.h>
+
 #include "kvm/virtio-9p.h"
 #include "kvm/virtio-pci-dev.h"
 #include "kvm/virtio.h"
@@ -13,12 +19,6 @@
 #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>
-
 #define NUM_VIRT_QUEUES                1
 #define VIRTIO_P9_QUEUE_SIZE   128
 #define        VIRTIO_P9_TAG           "kvm_9p"
-- 
1.7.4.1

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to