From mboxrd@z Thu Jan 1 00:00:00 1970 From: Will Deacon Subject: [PATCH 2/2] kvm tools: 9p: fix compilation broken by new stat structures Date: Mon, 4 Mar 2013 06:27:31 +0000 Message-ID: <1362378451-15216-2-git-send-email-will.deacon@arm.com> References: <1362378451-15216-1-git-send-email-will.deacon@arm.com> Cc: kvm@vger.kernel.org, Marc Zyngier , Will Deacon To: penberg@kernel.org Return-path: Received: from cam-admin0.cambridge.arm.com ([217.140.96.50]:62392 "EHLO cam-admin0.cambridge.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754079Ab3CDG1s (ORCPT ); Mon, 4 Mar 2013 01:27:48 -0500 In-Reply-To: <1362378451-15216-1-git-send-email-will.deacon@arm.com> Sender: kvm-owner@vger.kernel.org List-ID: From: Marc Zyngier Commit 447c50943fd0 ("9p: Modify the stat structures to use kuid_t and kgid_t") broke the 9p backend by introducing the k{u,g}id_t types, which aren't currently in scope. Just fix the damn thing by including linux/uidgid.h. Signed-off-by: Marc Zyngier Signed-off-by: Will Deacon --- tools/kvm/virtio/9p-pdu.c | 1 + tools/kvm/virtio/9p.c | 1 + 2 files changed, 2 insertions(+) diff --git a/tools/kvm/virtio/9p-pdu.c b/tools/kvm/virtio/9p-pdu.c index b9ce8ce..9e95f3b 100644 --- a/tools/kvm/virtio/9p-pdu.c +++ b/tools/kvm/virtio/9p-pdu.c @@ -5,6 +5,7 @@ #include #include +#include #include static void virtio_p9_pdu_read(struct p9_pdu *pdu, void *data, size_t size) diff --git a/tools/kvm/virtio/9p.c b/tools/kvm/virtio/9p.c index 60865dd..b7a5723 100644 --- a/tools/kvm/virtio/9p.c +++ b/tools/kvm/virtio/9p.c @@ -18,6 +18,7 @@ #include #include +#include #include static LIST_HEAD(devs); -- 1.8.0