Skip to content

Commit

Permalink
block/nfs: add missing #include "qapi/error.h"
Browse files Browse the repository at this point in the history
error_setg() used to be included indirectly through qemu/osdep.h.  Since
commit da34e65 ("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>
  • Loading branch information
stefanhaRH authored and codyprime committed Mar 30, 2016
1 parent 9370a3b commit d165b8c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions block/nfs.c
Expand Up @@ -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"
Expand Down

0 comments on commit d165b8c

Please sign in to comment.