aboutsummaryrefslogtreecommitdiff
path: root/bsd-user/elfload.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-01-29 17:49:53 +0000
committerPeter Maydell <peter.maydell@linaro.org>2016-02-04 17:01:04 +0000
commit2231197c87337a9778e0b2000b1ecb7d33c774b3 (patch)
treef589638202c02cb3b9988f56e7b33e167d618e83 /bsd-user/elfload.c
parent87c9b5e047f3799ec9dba6e31ec0522adf06951c (diff)
downloadqemu-2231197c87337a9778e0b2000b1ecb7d33c774b3.zip
qemu-2231197c87337a9778e0b2000b1ecb7d33c774b3.tar.gz
qemu-2231197c87337a9778e0b2000b1ecb7d33c774b3.tar.bz2
bsd-user: Clean up includes
Clean up includes so that osdep.h is included first and headers which it implies are not included manually. This commit was created with scripts/clean-includes. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 1454089805-5470-4-git-send-email-peter.maydell@linaro.org
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 59a7bdf..0a6092b 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"