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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]