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)
commit6ab9b46974e85630ef0cf357643da18a1de8e578
treeb9831a4843925d3cc35340b238b4cb8f36eff519
parentd576c31107a1861d58e82eb6634af6902ed0cf8a
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