From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45327) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1NZW-00065U-5d for qemu-devel@nongnu.org; Thu, 09 Jan 2014 16:55:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W1NZO-0004i2-JT for qemu-devel@nongnu.org; Thu, 09 Jan 2014 16:55:26 -0500 Received: from mail-pa0-f44.google.com ([209.85.220.44]:60752) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1NZO-0004hv-Di for qemu-devel@nongnu.org; Thu, 09 Jan 2014 16:55:18 -0500 Received: by mail-pa0-f44.google.com with SMTP id fa1so3863745pad.31 for ; Thu, 09 Jan 2014 13:55:17 -0800 (PST) From: Steven Noonan Date: Thu, 9 Jan 2014 13:55:07 -0800 Message-Id: <1389304508-10100-2-git-send-email-steven@uplinklabs.net> In-Reply-To: <1389304508-10100-1-git-send-email-steven@uplinklabs.net> References: <1389304508-10100-1-git-send-email-steven@uplinklabs.net> Subject: [Qemu-devel] [PATCH 2/3] virtfs-proxy-helper.c: fix compile error List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Steven Noonan , Anthony Liguori From: Steven Noonan This is caused by a linux/xattr.h and sys/xattr.h incompatibility: In file included from /home/snoonan/Development/qemu/include/qemu/xattr.h:27:0, from fsdev/virtfs-proxy-helper.c:25: /usr/include/sys/xattr.h:31:3: error: expected identifier before numeric constant XATTR_CREATE = 1, /* set value, fail if attr already exists. */ ^ /home/snoonan/Development/qemu/qemu/rules.mak:25: recipe for target 'fsdev/virtfs-proxy-helper.o' failed Moving the include around resolves it. Signed-off-by: Steven Noonan Cc: Anthony Liguori --- fsdev/virtfs-proxy-helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fsdev/virtfs-proxy-helper.c b/fsdev/virtfs-proxy-helper.c index 713a7b2..c10a085 100644 --- a/fsdev/virtfs-proxy-helper.c +++ b/fsdev/virtfs-proxy-helper.c @@ -12,7 +12,6 @@ #include #include #include -#include #include #include #include @@ -23,6 +22,7 @@ #include "qemu-common.h" #include "qemu/sockets.h" #include "qemu/xattr.h" +#include #include "virtio-9p-marshal.h" #include "hw/9pfs/virtio-9p-proxy.h" #include "fsdev/virtio-9p-marshal.h" -- 1.8.5.2