diff mbox series

[PULL,8/8] spice: Remove unused include

Message ID 20190110084752.30510-9-kraxel@redhat.com (mailing list archive)
State New, archived
Headers show
Series [PULL,1/8] egl-headless: add egl_create_context | expand

Commit Message

Gerd Hoffmann Jan. 10, 2019, 8:47 a.m. UTC
From: Frediano Ziglio <fziglio@redhat.com>

The definitions in the header are not  used.
Also this fixes porting SPICE to Windows where the header is not
available.

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20190107184404.31993-1-fziglio@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 ui/spice-core.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Philippe Mathieu-Daudé Jan. 11, 2019, 2:10 p.m. UTC | #1
On Thu, Jan 10, 2019 at 9:52 AM Gerd Hoffmann <kraxel@redhat.com> wrote:
>
> From: Frediano Ziglio <fziglio@redhat.com>
>
> The definitions in the header are not  used.
> Also this fixes porting SPICE to Windows where the header is not
> available.
>

Oh this misses "Since e16f4c8770b". Not a big deal.

> Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> Message-id: 20190107184404.31993-1-fziglio@redhat.com
> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
> ---
>  ui/spice-core.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/ui/spice-core.c b/ui/spice-core.c
> index fc850b3f50..a40fb2c00d 100644
> --- a/ui/spice-core.c
> +++ b/ui/spice-core.c
> @@ -18,7 +18,6 @@
>  #include "qemu/osdep.h"
>  #include <spice.h>
>
> -#include <netdb.h>
>  #include "sysemu/sysemu.h"
>
>  #include "ui/qemu-spice.h"
> --
> 2.9.3
>
>
diff mbox series

Patch

diff --git a/ui/spice-core.c b/ui/spice-core.c
index fc850b3f50..a40fb2c00d 100644
--- a/ui/spice-core.c
+++ b/ui/spice-core.c
@@ -18,7 +18,6 @@ 
 #include "qemu/osdep.h"
 #include <spice.h>
 
-#include <netdb.h>
 #include "sysemu/sysemu.h"
 
 #include "ui/qemu-spice.h"