Received: from eggs.gnu.org ([2001:4830:134:3::10]:44149) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aP9b6-0007vE-Ud for qemu-devel@nongnu.org; Fri, 29 Jan 2016 09:00:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aP9b1-0003bf-TM for qemu-devel@nongnu.org; Fri, 29 Jan 2016 09:00:24 -0500 Received: from roura.ac.upc.es ([147.83.33.10]:35956) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aP9b1-0003bU-G4 for qemu-devel@nongnu.org; Fri, 29 Jan 2016 09:00:19 -0500 From: =?utf-8?Q?Llu=C3=ADs_Vilanova?= References: <145401341105.13283.6918542543924796946.stgit@localhost> <87bn84sebf.fsf@fimbulvetr.bsc.es> Date: Fri, 29 Jan 2016 15:00:10 +0100 In-Reply-To: (Peter Maydell's message of "Fri, 29 Jan 2016 13:40:41 +0000") Message-ID: <87mvroqydx.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 29 January 2016 at 13:30, Llu=C3=ADs Vilanova wr= ote: >> Peter Maydell writes: >>> 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. >>=20 >> 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. > Yes, the intention is absolutely not to override any system header > (the constants defined are only relevant to the guest, and if the > header got included and overrode the host's syscall.h then nothing > would work and it probably wouldn't even compile). It just ended up > with the same name by accident. Aha, then I'll resend with the filles renamed. Cheers, Lluis