summaryrefslogtreecommitdiff
path: root/qemu-io.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-01-18 18:01:42 +0000
committerKevin Wolf <kwolf@redhat.com>2016-01-20 13:36:23 +0100
commit80c71a241ae3cd3b89527865ba730b2fa1f9e46f (patch)
tree7d318eae350d06e17d0e267683297ecd52e18cb7 /qemu-io.c
parenta174da3613f548d58433f64cf3c99dd302c6154a (diff)
downloadqemu-80c71a241ae3cd3b89527865ba730b2fa1f9e46f.tar.gz
qemu-80c71a241ae3cd3b89527865ba730b2fa1f9e46f.tar.bz2
qemu-80c71a241ae3cd3b89527865ba730b2fa1f9e46f.zip
block: 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> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-io.c')
-rw-r--r--qemu-io.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/qemu-io.c b/qemu-io.c
index d47228a963..d593f19642 100644
--- a/qemu-io.c
+++ b/qemu-io.c
@@ -7,10 +7,7 @@
* This work is licensed under the terms of the GNU GPL, version 2 or later.
* See the COPYING file in the top-level directory.
*/
-#include <sys/time.h>
-#include <sys/types.h>
-#include <stdarg.h>
-#include <stdio.h>
+#include "qemu/osdep.h"
#include <getopt.h>
#include <libgen.h>