[X2Go-Commits] [libx2goclient] 07/08: src/x2goclient-network.h: include "private copy" of gnativesocketaddress.h.

git-admin at x2go.org git-admin at x2go.org
Sat Aug 3 12:36:34 CEST 2019


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository libx2goclient.

commit 322620e2158278b960a50473cfa44fe2699414b9
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Wed Jul 31 22:44:17 2019 +0200

    src/x2goclient-network.h: include "private copy" of gnativesocketaddress.h.
---
 src/x2goclient-network.h | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/src/x2goclient-network.h b/src/x2goclient-network.h
index d05b3dc..23156ff 100644
--- a/src/x2goclient-network.h
+++ b/src/x2goclient-network.h
@@ -28,6 +28,15 @@
 #include <glib-object.h>
 #include <gio/gio.h>
 
+/*
+ * We need this due to a bug in glib/gio.
+ *
+ * For more information, check https://gitlab.gnome.org/GNOME/glib/issues/1854
+ */
+#if (!(GLIB_CHECK_VERSION(2, 62, 0)))
+#include "gnativesocketaddress.h"
+#endif
+
 G_BEGIN_DECLS
 
 #define X2GOCLIENT_TYPE_NETWORK_OPTIONS (x2goclient_network_options_get_type ())

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/libx2goclient.git


More information about the x2go-commits mailing list