From 33531660b4d5c6bb1450ac80686e75012a06a7eb Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Wed, 9 Jan 2013 13:43:49 +0100 Subject: 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 --- extensions/extensions.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'extensions') 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 -- cgit v1.2.1