aboutsummaryrefslogtreecommitdiff
path: root/linux-user/elfload.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-01-26 18:17:02 +0000
committerPeter Maydell <peter.maydell@linaro.org>2016-01-29 15:07:22 +0000
commitd39594e9d96b4f0be27bdbc02a5b1816b72fe1d2 (patch)
treede73b43a7eab2d30757f4f60c440fc7b97b3253d /linux-user/elfload.c
parent5af98cc5731061fc0321cd2c4c23c7e39cca0d9d (diff)
downloadqemu-d39594e9d96b4f0be27bdbc02a5b1816b72fe1d2.zip
qemu-d39594e9d96b4f0be27bdbc02a5b1816b72fe1d2.tar.gz
qemu-d39594e9d96b4f0be27bdbc02a5b1816b72fe1d2.tar.bz2
linux-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: 1453832250-766-10-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'linux-user/elfload.c')
-rw-r--r--linux-user/elfload.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/linux-user/elfload.c b/linux-user/elfload.c
index b90be12..19dc7f5 100644
--- a/linux-user/elfload.c
+++ b/linux-user/elfload.c
@@ -1,17 +1,9 @@
/* This is the Linux kernel elf-loading code, ported into user space */
-#include <sys/time.h>
+#include "qemu/osdep.h"
#include <sys/param.h>
-#include <stdio.h>
-#include <sys/types.h>
-#include <fcntl.h>
-#include <errno.h>
-#include <unistd.h>
#include <sys/mman.h>
#include <sys/resource.h>
-#include <stdlib.h>
-#include <string.h>
-#include <time.h>
#include "qemu.h"
#include "disas/disas.h"