[Qemu-devel] [PATCH] vnc: add qapi/error.h include to stubs

Gerd Hoffmann posted 1 patch 6 years, 2 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20180213070526.22475-1-kraxel@redhat.com
Test checkpatch passed
Test docker-build@min-glib passed
Test docker-mingw@fedora passed
Test docker-quick@centos6 passed
Test ppcbe passed
Test ppcle passed
Test s390x passed
ui/vnc-stubs.c | 1 +
1 file changed, 1 insertion(+)
[Qemu-devel] [PATCH] vnc: add qapi/error.h include to stubs
Posted by Gerd Hoffmann 6 years, 2 months ago
Fixes --disable-vnc build failure.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 ui/vnc-stubs.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ui/vnc-stubs.c b/ui/vnc-stubs.c
index f51280549a..06c4ac6296 100644
--- a/ui/vnc-stubs.c
+++ b/ui/vnc-stubs.c
@@ -1,5 +1,6 @@
 #include "qemu/osdep.h"
 #include "ui/console.h"
+#include "qapi/error.h"
 
 int vnc_display_password(const char *id, const char *password)
 {
-- 
2.9.3


Re: [Qemu-devel] [PATCH] vnc: add qapi/error.h include to stubs
Posted by Eric Blake 6 years, 2 months ago
On 02/13/2018 01:05 AM, Gerd Hoffmann wrote:
> Fixes --disable-vnc build failure.
> 
> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
> ---
>   ui/vnc-stubs.c | 1 +
>   1 file changed, 1 insertion(+)
> 

Reviewed-by: Eric Blake <eblake@redhat.com>

> diff --git a/ui/vnc-stubs.c b/ui/vnc-stubs.c
> index f51280549a..06c4ac6296 100644
> --- a/ui/vnc-stubs.c
> +++ b/ui/vnc-stubs.c
> @@ -1,5 +1,6 @@
>   #include "qemu/osdep.h"
>   #include "ui/console.h"
> +#include "qapi/error.h"
>   
>   int vnc_display_password(const char *id, const char *password)
>   {
> 

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org