]> git.proxmox.com Git - mirror_qemu.git/blobdiff - block.c
Include qapi/error.h exactly where needed
[mirror_qemu.git] / block.c
diff --git a/block.c b/block.c
index a8da4f2b2558f96ea0c6fda37e6eb5ec076d9e6e..2a8bc276c7b030e5778dc86b1ef8422cf5d132ab 100644 (file)
--- a/block.c
+++ b/block.c
@@ -21,6 +21,7 @@
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * THE SOFTWARE.
  */
+
 #include "qemu/osdep.h"
 #include "block/trace.h"
 #include "block/block_int.h"
@@ -29,6 +30,7 @@
 #include "qemu/error-report.h"
 #include "module_block.h"
 #include "qemu/module.h"
+#include "qapi/error.h"
 #include "qapi/qmp/qerror.h"
 #include "qapi/qmp/qbool.h"
 #include "qapi/qmp/qjson.h"