telepathy-mission-control: Add missing config.h includes

Guillaume Desmottes gdesmott at kemper.freedesktop.org
Tue Oct 30 07:21:48 PDT 2012


Module: telepathy-mission-control
Branch: master
Commit: 077ac24ef7d324fded1ebba928ee6150ab583e9c
URL:    http://cgit.freedesktop.org/telepathy/telepathy-mission-control/commit/?id=077ac24ef7d324fded1ebba928ee6150ab583e9c

Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date:   Tue Oct 30 15:17:33 2012 +0100

Add missing config.h includes

g_type_init() has been deprecated in GLib master. By including those files I
can build without raising a deprecation error as we define
GLIB_VERSION_MIN_REQUIRED to 2.30.

---

 server/mc-server.c         |    2 ++
 tests/keyring-command.c    |    2 ++
 tests/tease-the-minotaur.c |    2 ++
 util/wait-for-name.c       |    2 ++
 4 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/server/mc-server.c b/server/mc-server.c
index ff692f0..6e77950 100644
--- a/server/mc-server.c
+++ b/server/mc-server.c
@@ -22,6 +22,8 @@
  *
  */
 
+#include "config.h"
+
 #include <stdlib.h>
 #include <unistd.h>
 #include <glib.h>
diff --git a/tests/keyring-command.c b/tests/keyring-command.c
index 640f448..0ffd221 100644
--- a/tests/keyring-command.c
+++ b/tests/keyring-command.c
@@ -23,6 +23,8 @@
  *
  */
 
+#include "config.h"
+
 #include <glib.h>
 #include <glib/gprintf.h>
 #include <glib-object.h>
diff --git a/tests/tease-the-minotaur.c b/tests/tease-the-minotaur.c
index 1db9d0a..50f5a6c 100644
--- a/tests/tease-the-minotaur.c
+++ b/tests/tease-the-minotaur.c
@@ -22,6 +22,8 @@
  *   Will Thompson <will.thompson at collabora.co.uk>
  */
 
+#include "config.h"
+
 #include "connectivity-monitor.h"
 
 static void
diff --git a/util/wait-for-name.c b/util/wait-for-name.c
index b980b8b..13f2f5b 100644
--- a/util/wait-for-name.c
+++ b/util/wait-for-name.c
@@ -38,6 +38,8 @@
  *
  */
 
+#include "config.h"
+
 #ifdef HAVE_SYSEXITS_H
 # include <sysexits.h>
 #else



More information about the telepathy-commits mailing list