]> git.proxmox.com Git - qemu.git/commit
hw/i386: Fix broken build for non POSIX hosts
authorStefan Weil <sw@weilnetz.de>
Sat, 5 Jan 2013 08:33:43 +0000 (09:33 +0100)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 5 Jan 2013 10:14:05 +0000 (10:14 +0000)
commit549db5c32bb025501e2eeb23d2e5cc669061eb71
treea68fc142b125efd1b329ae560796acdae5a0f01d
parent1e397eadf1cf54920c45a2fdc204b1ade1b72d38
hw/i386: Fix broken build for non POSIX hosts

pc-testdev.c cannot be compiled with MinGW (and other non POSIX hosts):

  CC    i386-softmmu/hw/i386/../pc-testdev.o
qemu/hw/i386/../pc-testdev.c:38:22: warning: sys/mman.h: file not found
qemu/hw/i386/../pc-testdev.c: In function ‘test_flush_page’:
qemu/hw/i386/../pc-testdev.c:103: warning: implicit declaration of function ‘mprotect’
...

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/pc-testdev.c