aboutsummaryrefslogtreecommitdiff
path: root/bsd-user/elfload.c
diff options
context:
space:
mode:
Diffstat (limited to 'bsd-user/elfload.c')
-rw-r--r--bsd-user/elfload.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/bsd-user/elfload.c b/bsd-user/elfload.c
index 59a7bdf0cc..0a6092bdf7 100644
--- a/bsd-user/elfload.c
+++ b/bsd-user/elfload.c
@@ -1,13 +1,7 @@
/* This is the Linux kernel elf-loading code, ported into user space */
-#include <stdio.h>
-#include <sys/types.h>
-#include <fcntl.h>
-#include <errno.h>
-#include <unistd.h>
+#include "qemu/osdep.h"
#include <sys/mman.h>
-#include <stdlib.h>
-#include <string.h>
#include "qemu.h"
#include "disas/disas.h"