From patchwork Fri Jun 17 18:11:21 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Aneesh Kumar K.V" X-Patchwork-Id: 892172 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p5HIBiiY011468 for ; Fri, 17 Jun 2011 18:11:45 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758804Ab1FQSLm (ORCPT ); Fri, 17 Jun 2011 14:11:42 -0400 Received: from e23smtp06.au.ibm.com ([202.81.31.148]:53435 "EHLO e23smtp06.au.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755220Ab1FQSLk (ORCPT ); Fri, 17 Jun 2011 14:11:40 -0400 Received: from d23relay03.au.ibm.com (d23relay03.au.ibm.com [202.81.31.245]) by e23smtp06.au.ibm.com (8.14.4/8.13.1) with ESMTP id p5HIAtxB030866 for ; Sat, 18 Jun 2011 04:10:55 +1000 Received: from d23av02.au.ibm.com (d23av02.au.ibm.com [9.190.235.138]) by d23relay03.au.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p5HIBUNq598074 for ; Sat, 18 Jun 2011 04:11:30 +1000 Received: from d23av02.au.ibm.com (loopback [127.0.0.1]) by d23av02.au.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p5HIBUM6005921 for ; Sat, 18 Jun 2011 04:11:30 +1000 Received: from skywalker.in.ibm.com ([9.79.211.172]) by d23av02.au.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id p5HIBS7U005883; Sat, 18 Jun 2011 04:11:28 +1000 From: "Aneesh Kumar K.V" To: penberg@kernel.org Cc: kvm@vger.kernel.org, "Aneesh Kumar K.V" Subject: [PATCH 1/2] tools/kvm/9p: Always include system header before our headers Date: Fri, 17 Jun 2011 23:41:21 +0530 Message-Id: <1308334282-11865-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com> X-Mailer: git-send-email 1.7.4.1 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Fri, 17 Jun 2011 18:11:45 +0000 (UTC) Otherwise many things can break, such as mapping of stat to stat64 Signed-off-by: Aneesh Kumar K.V --- 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 +#include +#include +#include +#include + #include "kvm/virtio-9p.h" #include "kvm/virtio-pci-dev.h" #include "kvm/virtio.h" @@ -13,12 +19,6 @@ #include #include -#include -#include -#include -#include -#include - #define NUM_VIRT_QUEUES 1 #define VIRTIO_P9_QUEUE_SIZE 128 #define VIRTIO_P9_TAG "kvm_9p"