aboutsummaryrefslogtreecommitdiff
path: root/util/path.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/path.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/path.c')
-rw-r--r--util/path.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/util/path.c b/util/path.c
index 4e4877e821..d09e8c5e14 100644
--- a/util/path.c
+++ b/util/path.c
@@ -3,14 +3,9 @@
The assumption is that this area does not change.
*/
-#include <sys/types.h>
+#include "qemu/osdep.h"
#include <sys/param.h>
#include <dirent.h>
-#include <unistd.h>
-#include <stdlib.h>
-#include <string.h>
-#include <errno.h>
-#include <stdio.h>
#include "qemu-common.h"
struct pathelem