summaryrefslogtreecommitdiffstats
path: root/bsd-user/elfload.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-01-29 17:49:53 +0000
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 19:31:26 -0600
commitfce9f26d60ffd5fc6d7ff9e33d2bdd8bfeb635d9 (patch)
treeec98ea713065e31d574efd30a1fea0eb6557d96d /bsd-user/elfload.c
parent1bb1d09f6faf2588f55e6d240db78a47d3e0c346 (diff)
downloadhqemu-fce9f26d60ffd5fc6d7ff9e33d2bdd8bfeb635d9.zip
hqemu-fce9f26d60ffd5fc6d7ff9e33d2bdd8bfeb635d9.tar.gz
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"
OpenPOWER on IntegriCloud