Skip to contentSkip to conversation

spice: Remove unused include

PATCH In review Frediano Ziglio 3 participants 3 messages Jan 7, 2019 – Jan 10, 2019

lore
Share & tools
lore
#0 lore raw

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.

---
 ui/spice-core.c | 1 -
 1 file changed, 1 deletion(-)
ui/spice-core.c +0 -1
index 525e0929b9..fb87944a24 100644
@@ -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
Reviewed-by on v1 1/1
#1 lore raw
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.

(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
index 525e0929b9..fb87944a24 100644
@@ -18,7 +18,6 @@
 #include "qemu/osdep.h"
 #include <spice.h>
 
-#include <netdb.h>
 #include "sysemu/sysemu.h"
 
 #include "ui/qemu-spice.h"
#2 lore raw
In reply to Frediano Ziglio
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