]> git.proxmox.com Git - qemu.git/blobdiff - osdep.c
win32 port (initial patch by kazu)
[qemu.git] / osdep.c
diff --git a/osdep.c b/osdep.c
index f843e562f1ab055bd7452e3e02cc8725e022ad58..aa061a90ad1d2ec78a06eb243a4c057875960782 100644 (file)
--- a/osdep.c
+++ b/osdep.c
@@ -25,8 +25,6 @@
 #include <stdio.h>
 #include <stdarg.h>
 #include <string.h>
-#include <sys/mman.h>
-#include <sys/ipc.h>
 #include <errno.h>
 #include <unistd.h>
 
@@ -34,6 +32,9 @@
 
 #if defined(__i386__) && !defined(CONFIG_SOFTMMU) && !defined(CONFIG_USER_ONLY)
 
+#include <sys/mman.h>
+#include <sys/ipc.h>
+
 /* When not using soft mmu, libc independant functions are needed for
    the CPU core because it needs to use alternates stacks and
    libc/thread incompatibles settings */