summaryrefslogtreecommitdiffstats
path: root/util/path.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-01-29 17:49:55 +0000
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 19:31:26 -0600
commitf8f28f88c7f47a7910f19501474c277e8c6bfd1a (patch)
tree2eb242498f93b1645e9634c1b0c44f126cfd5516 /util/path.c
parentd6de89cbd1f7c93969665f94ce2537780713ed4d (diff)
downloadhqemu-f8f28f88c7f47a7910f19501474c277e8c6bfd1a.zip
hqemu-f8f28f88c7f47a7910f19501474c277e8c6bfd1a.tar.gz
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 4e4877e..d09e8c5 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
OpenPOWER on IntegriCloud