Received: from eggs.gnu.org ([2001:4830:134:3::10]:37545) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aP98c-0001bZ-2c for qemu-devel@nongnu.org; Fri, 29 Jan 2016 08:30:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aP98Y-0004oT-QZ for qemu-devel@nongnu.org; Fri, 29 Jan 2016 08:30:58 -0500 Received: from roura.ac.upc.es ([147.83.33.10]:39479) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aP98Y-0004oC-DQ for qemu-devel@nongnu.org; Fri, 29 Jan 2016 08:30:54 -0500 From: =?utf-8?Q?Llu=C3=ADs_Vilanova?= References: <145401341105.13283.6918542543924796946.stgit@localhost> Date: Fri, 29 Jan 2016 14:30:44 +0100 In-Reply-To: (Peter Maydell's message of "Fri, 29 Jan 2016 10:52:52 +0000") Message-ID: <87bn84sebf.fsf@fimbulvetr.bsc.es> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH] build: Add include check on syscall.h List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Riku Voipio , QEMU Developers Peter Maydell writes: > On 28 January 2016 at 20:36, Llu=C3=ADs Vilanova wr= ote: >> The LTTng tracing backend includes the system's "syscall.h", but QEMU >> replaces it with its own for linux-user builds. This results in a double >> include on some targets (when LTTng is enabled). >>=20 >> Signed-off-by: Llu=C3=ADs Vilanova > Adding include guards is fine, but it sounds to me like what we > should actually do to fix this confusion is rename all the linux-user > local headers to target_syscall.h. Hmmm, I didn't know if using the same name was on purpose or not. If the intention was *not* to override the system's syscall.h, then a rename is the proper solution. Can you or someone else confirm this? Thanks, Lluis