]> git.proxmox.com Git - mirror_qemu.git/blobdiff - util/osdep.c
os-posix: include sys/mman.h
[mirror_qemu.git] / util / osdep.c
index 9a7a439e13663b797194b36b8b0b9d4d32dbeb6b..ff004e80743954935130a87a1ad3b8a49e9eeecc 100644 (file)
 
 /* Needed early for CONFIG_BSD etc. */
 
-#if defined(CONFIG_MADVISE) || defined(CONFIG_POSIX_MADVISE)
-#include <sys/mman.h>
-#endif
-
 #ifdef CONFIG_SOLARIS
 #include <sys/statvfs.h>
 /* See MySQL bug #7156 (http://bugs.mysql.com/bug.php?id=7156) for