mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 04:13:53 -06:00
os-posix: include sys/mman.h
qemu/osdep.h checks whether MAP_ANONYMOUS is defined, but this check is bogus without a previous inclusion of sys/mman.h. Include it in sysemu/os-posix.h and remove it from everywhere else. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
89266923df
commit
02d0e09503
54 changed files with 4 additions and 68 deletions
|
@ -18,7 +18,6 @@
|
|||
*/
|
||||
#include "qemu/osdep.h"
|
||||
#include <machine/trap.h>
|
||||
#include <sys/mman.h>
|
||||
|
||||
#include "qemu.h"
|
||||
#include "qemu/path.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue