]> git.proxmox.com Git - qemu.git/commit - os-posix.c
Include sys/mman.h before qemu-options.h
authorJes Sorensen <Jes.Sorensen@redhat.com>
Tue, 6 Jul 2010 08:50:27 +0000 (10:50 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 6 Jul 2010 13:53:59 +0000 (08:53 -0500)
commit69e8b16255898524930fc2eef59aa5dc4cf3b01f
treeb9831a4843925d3cc35340b238b4cb8f36eff519
parent734003e6153b3552b9406ef598a1e67aac4a899e
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: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
os-posix.c