From patchwork Sat Jun 18 15:37:28 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: 893182 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p5IFbnNn024436 for ; Sat, 18 Jun 2011 15:37:49 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755924Ab1FRPhq (ORCPT ); Sat, 18 Jun 2011 11:37:46 -0400 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 Received: from skywalker.in.ibm.com ([9.77.201.141]) by d28av01.in.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id p5IFbesG030867; Sat, 18 Jun 2011 21:07:40 +0530 From: "Aneesh Kumar K.V" To: penberg@kernel.org Cc: kvm@vger.kernel.org, "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> 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 (demeter2.kernel.org [140.211.167.43]); Sat, 18 Jun 2011 15:37:49 +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 | 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"