summaryrefslogtreecommitdiff
path: root/tests/lib/simple-account.c
diff options
context:
space:
mode:
authorDebarshi Ray <debarshir@freedesktop.org>2013-01-09 13:43:49 +0100
committerDebarshi Ray <debarshir@freedesktop.org>2013-01-09 15:28:21 +0100
commit33531660b4d5c6bb1450ac80686e75012a06a7eb (patch)
tree9daa4d67e9453d118837cb34faaef1bf85b74416 /tests/lib/simple-account.c
parentfb8c6f057b102b854e608cc48f3a08cf2daa59f8 (diff)
downloadtelepathy-logger-33531660b4d5c6bb1450ac80686e75012a06a7eb.tar.gz
Include config.h as the first thing in every .c file
This is Autoconf best-practice, and ensures that the GLib and Telepathy version-selection macros defined by configure.ac work as intended. Including config.h turns on ENABLE_DEBUG, which in turn leads to the usage of _tpl_debug_set_flags_from_env. In those cases we should include telepathy-logger/debug-internal.h also. Fixes: https://bugs.freedesktop.org/59165
Diffstat (limited to 'tests/lib/simple-account.c')
-rw-r--r--tests/lib/simple-account.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/lib/simple-account.c b/tests/lib/simple-account.c
index 8b25af2..6761c06 100644
--- a/tests/lib/simple-account.c
+++ b/tests/lib/simple-account.c
@@ -8,6 +8,8 @@
* notice and this notice are preserved.
*/
+#include "config.h"
+
#include "simple-account.h"
#include <telepathy-glib/dbus.h>