diff options
author | Stefan Weil | 2016-03-12 07:20:49 +0100 |
---|---|---|
committer | Stefan Weil | 2016-03-22 19:11:15 +0100 |
commit | e89fdafb58038038e3ccb860c5e1068ba063bac8 (patch) | |
tree | ad233100ae71fa044f61db9f5ae5bce8b3085016 /include | |
parent | Merge remote-tracking branch 'remotes/mdroth/tags/qga-pull-2016-03-21-tag' in... (diff) | |
download | qemu-e89fdafb58038038e3ccb860c5e1068ba063bac8.tar.gz qemu-e89fdafb58038038e3ccb860c5e1068ba063bac8.tar.xz qemu-e89fdafb58038038e3ccb860c5e1068ba063bac8.zip |
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 <rth@twiddle.net>
Tested-by: Andrew Baumann <Andrew.Baumann@microsoft.com>
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/qemu/osdep.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/qemu/osdep.h b/include/qemu/osdep.h index 4538fdca42..5bb374c3c6 100644 --- a/include/qemu/osdep.h +++ b/include/qemu/osdep.h @@ -76,6 +76,9 @@ extern int daemon(int, int); #include <sys/stat.h> #include <sys/time.h> #include <assert.h> +/* setjmp must be declared before sysemu/os-win32.h + * because it is redefined there. */ +#include <setjmp.h> #include <signal.h> #ifdef __OpenBSD__ |