qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Max Reitz <mreitz@redhat.com>
To: qemu-block@nongnu.org
Cc: qemu-devel@nongnu.org, Max Reitz <mreitz@redhat.com>,
	Jeff Cody <jcody@redhat.com>,
	Chrysostomos Nanakos <chris@include.gr>,
	Kevin Wolf <kwolf@redhat.com>
Subject: [Qemu-devel] [PATCH for-2.9] block/archipelago: Make it compile
Date: Wed,  8 Mar 2017 19:18:33 +0100	[thread overview]
Message-ID: <20170308181833.32110-1-mreitz@redhat.com> (raw)

In order to use error_setg() and similar functions, we need to include
qapi/error.h.

Signed-off-by: Max Reitz <mreitz@redhat.com>
---
 block/archipelago.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/block/archipelago.c b/block/archipelago.c
index 2449cfc702..01c4ff2f7d 100644
--- a/block/archipelago.c
+++ b/block/archipelago.c
@@ -55,6 +55,7 @@
 #include "block/block_int.h"
 #include "qemu/error-report.h"
 #include "qemu/thread.h"
+#include "qapi/error.h"
 #include "qapi/qmp/qint.h"
 #include "qapi/qmp/qstring.h"
 #include "qapi/qmp/qjson.h"
-- 
2.12.0

             reply	other threads:[~2017-03-08 18:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-08 18:18 Max Reitz [this message]
2017-03-08 18:25 ` [Qemu-devel] [PATCH for-2.9] block/archipelago: Make it compile Eric Blake
2017-03-08 18:27   ` Max Reitz
2017-03-08 18:28   ` Eric Blake
2017-03-08 18:32     ` Max Reitz
2017-03-08 18:46       ` Kevin Wolf
2017-03-08 19:33         ` Eric Blake
2017-03-08 18:38   ` Philippe Mathieu-Daudé

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170308181833.32110-1-mreitz@redhat.com \
    --to=mreitz@redhat.com \
    --cc=chris@include.gr \
    --cc=jcody@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=qemu-block@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).