]> git.proxmox.com Git - mirror_qemu.git/blobdiff - os-posix.c
e1000e: fix building without CONFIG_VMXNET3_PCI
[mirror_qemu.git] / os-posix.c
index 92fa3baa1a5b7090ef35a77be9028bc49ffe6b09..3755265582514fff6f820a651d808140bb53ba51 100644 (file)
@@ -26,7 +26,6 @@
 #include "qemu/osdep.h"
 #include <sys/wait.h>
 /*needed for MAP_POPULATE before including qemu-options.h */
-#include <sys/mman.h>
 #include <pwd.h>
 #include <grp.h>
 #include <libgen.h>
@@ -38,6 +37,7 @@
 #include "qemu/rcu.h"
 #include "qemu/error-report.h"
 #include "qemu/log.h"
+#include "qemu/cutils.h"
 
 #ifdef CONFIG_LINUX
 #include <sys/prctl.h>