Received: from eggs.gnu.org ([2001:4830:134:3::10]:60349) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axCoD-0004uw-QV for qemu-devel@nongnu.org; Mon, 02 May 2016 08:18:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1axCo2-00055O-81 for qemu-devel@nongnu.org; Mon, 02 May 2016 08:18:36 -0400 References: <1461935279-30418-1-git-send-email-jano.vesely@gmail.com> From: Michael Tokarev Message-ID: <5727457A.30509@msgid.tls.msk.ru> Date: Mon, 2 May 2016 15:18:02 +0300 MIME-Version: 1.0 In-Reply-To: <1461935279-30418-1-git-send-email-jano.vesely@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [Qemu-trivial] [PATCH] configure: Check if struct fsxattr is available from linux header List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Vesely , qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, Peter Maydell , Markus Armbruster , Stefan Weil 29.04.2016 16:07, Jan Vesely =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > Fixes build failure with --enable-xfsctl and > new linux headers (>=3D4.5) and older xfsprogs(<4.5): > In file included from /usr/include/xfs/xfs.h:38:0, > from /var/tmp/portage/app-emulation/qemu-2.5.0-r1/work= /qemu-2.5.0/block/raw-posix.c:97: > /usr/include/xfs/xfs_fs.h:42:8: error: redefinition of =E2=80=98struct = fsxattr=E2=80=99 > struct fsxattr { > ^ > In file included from /var/tmp/portage/app-emulation/qemu-2.5.0-r1/work= /qemu-2.5.0/block/raw-posix.c:60:0: > /usr/include/linux/fs.h:155:8: note: originally defined here > struct fsxattr { This is a bug in xfsprogs, which has been fixed by a later release. I think it is wrong to fix it in qemu. Thanks, /mjt