Received: from eggs.gnu.org ([2001:4830:134:3::10]:45290) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afMWs-0002hC-AF for qemu-devel@nongnu.org; Mon, 14 Mar 2016 03:03:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1afMWo-0002yp-E9 for qemu-devel@nongnu.org; Mon, 14 Mar 2016 03:03:02 -0400 Received: from mx1.redhat.com ([209.132.183.28]:43703) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afMWo-0002yl-8i for qemu-devel@nongnu.org; Mon, 14 Mar 2016 03:02:58 -0400 From: Markus Armbruster References: <1457764306-3919-1-git-send-email-sw@weilnetz.de> Date: Mon, 14 Mar 2016 08:02:50 +0100 In-Reply-To: <1457764306-3919-1-git-send-email-sw@weilnetz.de> (Stefan Weil's message of "Sat, 12 Mar 2016 07:31:46 +0100") Message-ID: <8760wph78l.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH] Include setjmp.h in qemu/osdep.h (bug fix for w64) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil Cc: Peter Maydell , Peter Crosthwaite , QEMU Developer , Andrew Baumann , Paolo Bonzini , Richard Henderson Stefan Weil writes: > setjmp must be declared before sysemu/os-win32.h > because it is redefined there for 64 bit Windows. > > Signed-off-by: Stefan Weil > --- > > This patch superseeds my previous patch > "Use special code for sigsetjmp only in cpu-exec.c". > > It is needed for QEMU on 64 bit Windows to get the > correct definition of setjmp (without stack unwinding). > > Regards, > Stefan > > > include/qemu/osdep.h | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/include/qemu/osdep.h b/include/qemu/osdep.h > index 4538fdc..5bb374c 100644 > --- a/include/qemu/osdep.h > +++ b/include/qemu/osdep.h > @@ -76,6 +76,9 @@ extern int daemon(int, int); > #include > #include > #include > +/* setjmp must be declared before sysemu/os-win32.h > + * because it is redefined there. */ > +#include > #include > > #ifdef __OpenBSD__ Please add to scripts/clean-includes.