From: "Aneesh Kumar K.V" Subject: [PATCH] tools/kvm/9p: Always include system header before kernel headers Date: Sat, 18 Jun 2011 21:07:28 +0530 Message-ID: <1308411448-26085-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com> Cc: kvm@vger.kernel.org, "Aneesh Kumar K.V" To: penberg@kernel.org Return-path: Received: from e28smtp04.in.ibm.com ([122.248.162.4]:49183 "EHLO e28smtp04.in.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754886Ab1FRPhq (ORCPT ); Sat, 18 Jun 2011 11:37:46 -0400 Received: from d28relay01.in.ibm.com (d28relay01.in.ibm.com [9.184.220.58]) by e28smtp04.in.ibm.com (8.14.4/8.13.1) with ESMTP id p5IFbgFF013220 for ; Sat, 18 Jun 2011 21:07:42 +0530 Received: from d28av01.in.ibm.com (d28av01.in.ibm.com [9.184.220.63]) by d28relay01.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p5IFbfOA4206726 for ; Sat, 18 Jun 2011 21:07:42 +0530 Received: from d28av01.in.ibm.com (loopback [127.0.0.1]) by d28av01.in.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p5IFbf1A030881 for ; Sat, 18 Jun 2011 21:07:41 +0530 Sender: kvm-owner@vger.kernel.org List-ID: Otherwise many things can break, such as mapping of stat to stat64 Signed-off-by: Aneesh Kumar K.V --- tools/kvm/virtio/9p.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/kvm/virtio/9p.c b/tools/kvm/virtio/9p.c index 38a997d..730f4a1 100644 --- a/tools/kvm/virtio/9p.c +++ b/tools/kvm/virtio/9p.c @@ -9,16 +9,16 @@ #include "kvm/threadpool.h" #include "kvm/irq.h" -#include -#include -#include - #include #include #include #include #include +#include +#include +#include + #define NUM_VIRT_QUEUES 1 #define VIRTIO_P9_QUEUE_SIZE 128 #define VIRTIO_P9_TAG "kvm_9p" -- 1.7.4.1