Commit 69e8b162 authored by Jes Sorensen's avatar Jes Sorensen Committed by Anthony Liguori

Include sys/mman.h before qemu-options.h

The result of parsing qemu-options.def depends on whehter or not
MAP_POPULATE is defined, so make sure to include sys/mman.h before
including qemu-options.h.

Reported by Frank Arnold.
Signed-off-by: default avatarJes Sorensen <>
Signed-off-by: default avatarAnthony Liguori <>
parent 734003e6
......@@ -28,6 +28,8 @@
#include <signal.h>
#include <sys/types.h>
#include <sys/wait.h>
/*needed for MAP_POPULATE before including qemu-options.h */
#include <sys/mman.h>
#include <pwd.h>
#include <libgen.h>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment