spice: Remove unused include
PATCH 1/1 spice: Remove unused include
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 <[email protected]>
--- ui/spice-core.c | 1 - 1 file changed, 1 deletion(-)
ui/spice-core.c +0 -1
@@ -18,7 +18,6 @@#include "qemu/osdep.h" #include <spice.h> -#include <netdb.h> #include "sysemu/sysemu.h" #include "ui/qemu-spice.h"
Signature · 1 line
2.20.1
Quoted 1 line · Frediano Ziglio
The definitions in the header are not used.
Indeed, since e16f4c8770b.
Quoted 4 lines
Also this fixes porting SPICE to Windows where the header is not available.
Signed-off-by Frediano Ziglio <[email protected]>
Reviewed-by Philippe Mathieu-Daudé <[email protected]>
(I might resend your patch in another series of mine)
Quoted 17 lines
--- ui/spice-core.c | 1 - 1 file changed, 1 deletion(-)ui/spice-core.c +0
-1@@ -18,7 +18,6 @@#include "qemu/osdep.h" #include <spice.h> -#include <netdb.h> #include "sysemu/sysemu.h" #include "ui/qemu-spice.h"
Quoted 3 lines · Frediano Ziglio
The definitions in the header are not used.
Also this fixes porting SPICE to Windows where the header is not available.
Added to ui queue.
thanks,
Gerd