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.

Backports commit e89fdafb58038038e3ccb860c5e1068ba063bac8 from qemu
This commit is contained in:
Stefan Weil 2018-02-21 22:56:21 -05:00 committed by Lioncash
parent 2f30651c40
commit 904b3c467e
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -64,6 +64,9 @@
#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__