summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2014-02-26 18:29:21 +0100
committerChristophe Fergeau <cfergeau@redhat.com>2014-02-27 15:47:57 +0100
commit79fb87e9cbadddd038119b5ddee67cb49a7c4808 (patch)
tree578e8fb78d33166acf42fca514aaac947348c506
parent055a310f655ad436599c4fef965f2b3e7bc0f17f (diff)
downloadspice-gtk-79fb87e9cbadddd038119b5ddee67cb49a7c4808.tar.gz
spice-gtk-79fb87e9cbadddd038119b5ddee67cb49a7c4808.tar.xz
spice-gtk-79fb87e9cbadddd038119b5ddee67cb49a7c4808.zip
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.
-rw-r--r--gtk/vmcstream.c1
-rw-r--r--gtk/wocky-http-proxy.c1
2 files changed, 2 insertions, 0 deletions
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>