[Spice-commits] gtk/vmcstream.c gtk/wocky-http-proxy.c

Christophe Fergau teuf at kemper.freedesktop.org
Thu Feb 27 06:48:06 PST 2014


 gtk/vmcstream.c        |    1 +
 gtk/wocky-http-proxy.c |    1 +
 2 files changed, 2 insertions(+)

New commits:
commit 79fb87e9cbadddd038119b5ddee67cb49a7c4808
Author: Christophe Fergeau <cfergeau at redhat.com>
Date:   Wed Feb 26 18:29:21 2014 +0100

    Add missing #include "glib-compat.h"
    
    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.

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>


More information about the Spice-commits mailing list