aboutsummaryrefslogtreecommitdiff
path: root/migration/block.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-01-26 18:16:54 +0000
committerPeter Maydell <peter.maydell@linaro.org>2016-01-29 15:07:22 +0000
commit1393a48526078cda985759c459de9bc803e0e4fe (patch)
tree3ab720b3c26968e3f75ccb7b34244ed9c3a6b327 /migration/block.c
parent357e81c7e880f868833edf9f53cce1f3b09ea8ec (diff)
migration: 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: 1453832250-766-2-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'migration/block.c')
-rw-r--r--migration/block.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/migration/block.c b/migration/block.c
index 656f38f341..a444058cf7 100644
--- a/migration/block.c
+++ b/migration/block.c
@@ -13,6 +13,7 @@
* GNU GPL, version 2 or (at your option) any later version.
*/
+#include "qemu/osdep.h"
#include "qemu-common.h"
#include "block/block.h"
#include "qemu/error-report.h"
@@ -24,7 +25,6 @@
#include "migration/migration.h"
#include "sysemu/blockdev.h"
#include "sysemu/block-backend.h"
-#include <assert.h>
#define BLOCK_SIZE (1 << 20)
#define BDRV_SECTORS_PER_DIRTY_CHUNK (BLOCK_SIZE >> BDRV_SECTOR_BITS)