summaryrefslogtreecommitdiff
path: root/osdep.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-03-31 23:37:16 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-03-31 23:37:16 +0000
commit67b915a5dd52a05f8030cd9edc005effd9c8eea5 (patch)
tree247689b53ca52d7d9cb4fc9f7ff65f293b61e01a /osdep.c
parentbb27c19087ff0847484c111cbaf56a3fa7103684 (diff)
downloadqemu-67b915a5dd52a05f8030cd9edc005effd9c8eea5.tar.gz
qemu-67b915a5dd52a05f8030cd9edc005effd9c8eea5.tar.bz2
qemu-67b915a5dd52a05f8030cd9edc005effd9c8eea5.zip
win32 port (initial patch by kazu)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@692 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'osdep.c')
-rw-r--r--osdep.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/osdep.c b/osdep.c
index f843e562f1..aa061a90ad 100644
--- 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 */