summaryrefslogtreecommitdiffstats
path: root/qemu/hw/block/block.c
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/hw/block/block.c')
-rw-r--r--qemu/hw/block/block.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/qemu/hw/block/block.c b/qemu/hw/block/block.c
index f7243e5b9..97a59d4fa 100644
--- a/qemu/hw/block/block.c
+++ b/qemu/hw/block/block.c
@@ -7,9 +7,11 @@
* later. See the COPYING file in the top-level directory.
*/
+#include "qemu/osdep.h"
#include "sysemu/blockdev.h"
#include "sysemu/block-backend.h"
#include "hw/block/block.h"
+#include "qapi/error.h"
#include "qemu/error-report.h"
void blkconf_serial(BlockConf *conf, char **serial)