aboutsummaryrefslogtreecommitdiff
path: root/util/oslib-posix.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-01-29 17:49:55 +0000
committerPeter Maydell <peter.maydell@linaro.org>2016-02-04 17:01:04 +0000
commitaafd758410015e08b1aa8964d739ba8587ce58dc (patch)
treefcaa184bf2e2faa09111d7bfc40ee9257a8415f0 /util/oslib-posix.c
parent9c058332f36bc84db57f3d54566228799c5e9605 (diff)
util: 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-6-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'util/oslib-posix.c')
-rw-r--r--util/oslib-posix.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/util/oslib-posix.c b/util/oslib-posix.c
index d25f6715c7..d844387b79 100644
--- a/util/oslib-posix.c
+++ b/util/oslib-posix.c
@@ -47,13 +47,12 @@ extern int daemon(int, int);
# define QEMU_VMALLOC_ALIGN getpagesize()
#endif
+#include "qemu/osdep.h"
#include <termios.h>
-#include <unistd.h>
#include <termios.h>
#include <glib/gprintf.h>
-#include "config-host.h"
#include "sysemu/sysemu.h"
#include "trace.h"
#include "qemu/sockets.h"