[Pkg-telepathy-commits] [telepathy-mission-control-6] 14/280: Include config.h in every .c file (again)
Simon McVittie
smcv at debian.org
Thu Mar 27 20:06:59 UTC 2014
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to branch debian
in repository telepathy-mission-control-6.
commit 96dd7d819c33f69303d54a320a6953e51f178156
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date: Fri Jul 19 18:02:29 2013 +0100
Include config.h in every .c file (again)
This is potentially important if config.h includes things that affect
compilation globally, like ENABLE_DEBUG, "#define inline __inline",
or GLib, Telepathy, etc. versioned deprecation macros.
<config.h> rather than "config.h" as recommended in the Autoconf manual.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69822
Reviewed-by: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
---
tests/account-store-libaccounts.c | 1 +
tests/twisted/mcp-account-diversion.c | 1 +
tests/value-is-same.c | 2 ++
3 files changed, 4 insertions(+)
diff --git a/tests/account-store-libaccounts.c b/tests/account-store-libaccounts.c
index e275696..2611274 100644
--- a/tests/account-store-libaccounts.c
+++ b/tests/account-store-libaccounts.c
@@ -19,6 +19,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include <config.h>
#include "account-store-libaccounts.h"
#include <libaccounts-glib/ag-manager.h>
diff --git a/tests/twisted/mcp-account-diversion.c b/tests/twisted/mcp-account-diversion.c
index a996764..923f51b 100644
--- a/tests/twisted/mcp-account-diversion.c
+++ b/tests/twisted/mcp-account-diversion.c
@@ -19,6 +19,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include <config.h>
#include <mission-control-plugins/mission-control-plugins.h>
#define DONT_DIVERT "fakecm/fakeprotocol/dontdivert"
diff --git a/tests/value-is-same.c b/tests/value-is-same.c
index 1f7854b..7409790 100644
--- a/tests/value-is-same.c
+++ b/tests/value-is-same.c
@@ -23,6 +23,8 @@
*
*/
+#include <config.h>
+
/* Yes, this is a hack */
#include "mcd-account.c"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-telepathy/telepathy-mission-control-6.git
More information about the Pkg-telepathy-commits
mailing list