summaryrefslogtreecommitdiff
path: root/extensions
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 /extensions
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 'extensions')
-rw-r--r--extensions/extensions.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/extensions/extensions.c b/extensions/extensions.c
index a47e0e1..0f85042 100644
--- a/extensions/extensions.c
+++ b/extensions/extensions.c
@@ -1,3 +1,5 @@
+#include "config.h"
+
#include "extensions.h"
#include <telepathy-glib/proxy-subclass.h>