telepathy-rakia: Consistently include config.h in every .c file, first

Simon McVittie smcv at kemper.freedesktop.org
Thu May 10 04:50:47 PDT 2012


Module: telepathy-rakia
Branch: master
Commit: 46e0f63e59df3cbf2a8c5f49b32b48b233f45e19
URL:    http://cgit.freedesktop.org/telepathy/telepathy-rakia/commit/?id=46e0f63e59df3cbf2a8c5f49b32b48b233f45e19

Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Wed May  9 19:18:33 2012 +0100

Consistently include config.h in every .c file, first

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49725
Signed-off-by: Simon McVittie <simon.mcvittie at collabora.co.uk>
Reviewed-by: Mikhail Zabaluev <mikhail.zabaluev at nokia.com>

---

 extensions/extensions.c     |    2 ++
 rakia/codec-param-formats.c |    2 ++
 rakia/debug.c               |    2 ++
 rakia/event-target.c        |    2 ++
 src/protocol.c              |    2 ++
 src/sip-connection.c        |    2 ++
 tests/tp_caller.c           |    2 ++
 7 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/extensions/extensions.c b/extensions/extensions.c
index eeda462..adb4cd9 100644
--- a/extensions/extensions.c
+++ b/extensions/extensions.c
@@ -1,3 +1,5 @@
+#include "config.h"
+
 #include "extensions.h"
 
 /* include auto-generated stubs for things common to service and client */
diff --git a/rakia/codec-param-formats.c b/rakia/codec-param-formats.c
index 929b1a8..33c5775 100644
--- a/rakia/codec-param-formats.c
+++ b/rakia/codec-param-formats.c
@@ -18,6 +18,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
+#include "config.h"
+
 #include "codec-param-formats.h"
 
 #include <string.h>
diff --git a/rakia/debug.c b/rakia/debug.c
index 84f2993..b33563e 100644
--- a/rakia/debug.c
+++ b/rakia/debug.c
@@ -17,6 +17,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
+#include "config.h"
+
 #include "debug.h"
 
 #include <glib.h>
diff --git a/rakia/event-target.c b/rakia/event-target.c
index 02647e1..ac050ad 100644
--- a/rakia/event-target.c
+++ b/rakia/event-target.c
@@ -18,6 +18,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
+#include "config.h"
+
 #include "event-target.h"
 #include "signals-marshal.h"
 
diff --git a/src/protocol.c b/src/protocol.c
index 5cb902b..bf1fd70 100644
--- a/src/protocol.c
+++ b/src/protocol.c
@@ -17,6 +17,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
+#include "config.h"
+
 #include "protocol.h"
 
 #include <string.h>
diff --git a/src/sip-connection.c b/src/sip-connection.c
index d38caae..9719dd9 100644
--- a/src/sip-connection.c
+++ b/src/sip-connection.c
@@ -24,6 +24,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
+#include "config.h"
+
 #include <stdlib.h>
 #include <string.h>
 
diff --git a/tests/tp_caller.c b/tests/tp_caller.c
index 6043b12..d36c352 100644
--- a/tests/tp_caller.c
+++ b/tests/tp_caller.c
@@ -19,6 +19,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
+#include "config.h"
+
 #ifndef DBUS_API_SUBJECT_TO_CHANGE
 #define DBUS_API_SUBJECT_TO_CHANGE
 #endif



More information about the telepathy-commits mailing list