From e89fdafb58038038e3ccb860c5e1068ba063bac8 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Sat, 12 Mar 2016 07:20:49 +0100 Subject: Include setjmp.h in qemu/osdep.h (bug fix for w64) setjmp must be declared before sysemu/os-win32.h because it is redefined there for 64 bit Windows. Reviewed-by: Richard Henderson Tested-by: Andrew Baumann Signed-off-by: Stefan Weil --- 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__ -- cgit v1.1