diff options
Diffstat (limited to 'osdep.c')
-rw-r--r-- | osdep.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 */ |