summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Hajnoczi2016-03-30 14:46:33 +0200
committerJeff Cody2016-03-30 22:50:39 +0200
commitd165b8cb8b45c228d6251dbcd62f59d49bcd7892 (patch)
tree873da7ef68a3abcdb9d6e50f1776565ca65070f4
parentUpdate version for v2.6.0-rc0 release (diff)
downloadqemu-d165b8cb8b45c228d6251dbcd62f59d49bcd7892.tar.gz
qemu-d165b8cb8b45c228d6251dbcd62f59d49bcd7892.tar.xz
qemu-d165b8cb8b45c228d6251dbcd62f59d49bcd7892.zip
block/nfs: add missing #include "qapi/error.h"
error_setg() used to be included indirectly through qemu/osdep.h. Since commit da34e65cb4025728566d6504a99916f6e7e1dd6a ("include/qemu/osdep.h: Don't include qapi/error.h") it requires an explicit include. Cc: Markus Armbruster <armbru@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Message-id: 1459341994-20567-2-git-send-email-stefanha@redhat.com Signed-off-by: Jeff Cody <jcody@redhat.com>
-rw-r--r--block/nfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/block/nfs.c b/block/nfs.c
index 7220e8991b..0c43dc7ffb 100644
--- a/block/nfs.c
+++ b/block/nfs.c
@@ -28,6 +28,7 @@
#include "qemu-common.h"
#include "qemu/config-file.h"
#include "qemu/error-report.h"
+#include "qapi/error.h"
#include "block/block_int.h"
#include "trace.h"
#include "qemu/iov.h"