[Spice-devel] [spice-gtk] Add missing #include "glib-compat.h"

Marc-André Lureau mlureau at redhat.com
Thu Feb 27 01:30:27 PST 2014


ack

----- Original Message -----
> wocky-http-proxy.c and vmcstream.c make use of functions that were
> not available in glib 2.26 so we need fallback for them through
> glib-compat.h or spice-gtk won't build with older glibs.
> ---
>  gtk/vmcstream.c        | 1 +
>  gtk/wocky-http-proxy.c | 1 +
>  2 files changed, 2 insertions(+)
> 
> diff --git a/gtk/vmcstream.c b/gtk/vmcstream.c
> index 61990e7..8cef1b0 100644
> --- a/gtk/vmcstream.c
> +++ b/gtk/vmcstream.c
> @@ -20,6 +20,7 @@
>  #include "vmcstream.h"
>  #include "spice-channel-priv.h"
>  #include "gio-coroutine.h"
> +#include "glib-compat.h"
>  
>  struct _SpiceVmcInputStream
>  {
> diff --git a/gtk/wocky-http-proxy.c b/gtk/wocky-http-proxy.c
> index 4226b10..fa519ec 100644
> --- a/gtk/wocky-http-proxy.c
> +++ b/gtk/wocky-http-proxy.c
> @@ -22,6 +22,7 @@
>  
>  #include "config.h"
>  
> +#include "glib-compat.h"
>  #include "wocky-http-proxy.h"
>  
>  #include <string.h>
> --
> 1.8.5.3
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
> 


More information about the Spice-devel mailing list