aboutsummaryrefslogtreecommitdiff
path: root/block/backup.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 /block/backup.c
parenta174da3613f548d58433f64cf3c99dd302c6154a (diff)
downloadqemu-80c71a241ae3cd3b89527865ba730b2fa1f9e46f.zip
qemu-80c71a241ae3cd3b89527865ba730b2fa1f9e46f.tar.gz
qemu-80c71a241ae3cd3b89527865ba730b2fa1f9e46f.tar.bz2
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 'block/backup.c')
-rw-r--r--block/backup.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/block/backup.c b/block/backup.c
index 705bb77..00cafdb 100644
--- a/block/backup.c
+++ b/block/backup.c
@@ -11,9 +11,7 @@
*
*/
-#include <stdio.h>
-#include <errno.h>
-#include <unistd.h>
+#include "qemu/osdep.h"
#include "trace.h"
#include "block/block.h"