Received: from eggs.gnu.org ([2001:4830:134:3::10]:36664) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZBm8-00042X-2w for qemu-devel@nongnu.org; Mon, 15 Aug 2016 02:53:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bZBm2-0005tQ-65 for qemu-devel@nongnu.org; Mon, 15 Aug 2016 02:53:31 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60860) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZBm2-0005tM-0R for qemu-devel@nongnu.org; Mon, 15 Aug 2016 02:53:26 -0400 References: <20160815004635.29411.18764.malonedeb@gac.canonical.com> From: Thomas Huth Message-ID: <596e3698-47dc-949d-0cb5-78864e8d1d8c@redhat.com> Date: Mon, 15 Aug 2016 08:53:21 +0200 MIME-Version: 1.0 In-Reply-To: <20160815004635.29411.18764.malonedeb@gac.canonical.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [Bug 1613133] [NEW] SLIRP code regression fails to build on OpenBSD List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Bug 1613133 <1613133@bugs.launchpad.net>, qemu-devel@nongnu.org Cc: Samuel Thibault On 15.08.2016 02:46, Brad Smith wrote: > Public bug reported: > > The SLIRP code has regressed between 2.6 and 2.7 and now fails to build > on OpenBSD. [...] > In file included from /usr/include/net/if.h:454:0, > from slirp/slirp.c:34: > /usr/include/net/if_arp.h:47:8: error: redefinition of 'struct arphdr' > struct arphdr { > ^ > In file included from slirp/slirp.c:29:0: > slirp/slirp.h:108:8: note: originally defined here > struct arphdr { > ^ Does it work again if you change the #ifndef _WIN32 #include #endif into #if !defined(_WIN32) && !defined(__OpenBSD__) #include #endif at the beginning of slirp/slirp.c ?