diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-04-04 09:34:41 +0200 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-04-04 10:07:28 +0200 |
commit | b89caf381ba7a38c1ac98fe4b04a261cf62c1ad1 (patch) | |
tree | 6226351b0a2aabc7d00b8d772072653d5ad50022 | |
parent | 579eb4f247b7383d4f50f79e7802f9b48ffadf7a (diff) |
add missing config.h includes
43 files changed, 56 insertions, 6 deletions
diff --git a/extensions/extensions.c b/extensions/extensions.c index c81d12627..d5b41e574 100644 --- a/extensions/extensions.c +++ b/extensions/extensions.c @@ -1,3 +1,4 @@ +#include "config.h" #include "extensions.h" /* auto-generated stubs */ diff --git a/lib/gibber/gibber-debug.c b/lib/gibber/gibber-debug.c index 96336e0e5..29b74f44e 100644 --- a/lib/gibber/gibber-debug.c +++ b/lib/gibber/gibber-debug.c @@ -1,3 +1,4 @@ +#include "config.h" #include <stdarg.h> diff --git a/lib/gibber/gibber-transport.c b/lib/gibber/gibber-transport.c index 82ad73b33..125472448 100644 --- a/lib/gibber/gibber-transport.c +++ b/lib/gibber/gibber-transport.c @@ -18,6 +18,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "config.h" #include <stdio.h> #include <stdlib.h> diff --git a/lib/gibber/gibber-unix-transport.c b/lib/gibber/gibber-unix-transport.c index 884bac6d1..0d0f8d315 100644 --- a/lib/gibber/gibber-unix-transport.c +++ b/lib/gibber/gibber-unix-transport.c @@ -19,6 +19,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "config.h" + /* needed for struct ucred */ #define _GNU_SOURCE diff --git a/plugins/console.c b/plugins/console.c index 6e24e4fca..7dde24fac 100644 --- a/plugins/console.c +++ b/plugins/console.c @@ -17,10 +17,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#include "console.h" - #include "config.h" +#include "console.h" + #include <string.h> #include <telepathy-glib/telepathy-glib.h> diff --git a/plugins/gateways.c b/plugins/gateways.c index b9b232325..c40dc5191 100644 --- a/plugins/gateways.c +++ b/plugins/gateways.c @@ -17,10 +17,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#include "gateways.h" - #include "config.h" +#include "gateways.h" + #include <string.h> #include <telepathy-glib/telepathy-glib.h> diff --git a/plugins/test.c b/plugins/test.c index ba1f5fd3f..b145373f4 100644 --- a/plugins/test.c +++ b/plugins/test.c @@ -1,5 +1,5 @@ -#include "test.h" #include "config.h" +#include "test.h" #include <stdio.h> diff --git a/src/base-call-channel.c b/src/base-call-channel.c index 321e3da4d..5ea79b27b 100644 --- a/src/base-call-channel.c +++ b/src/base-call-channel.c @@ -18,6 +18,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "config.h" #include <stdio.h> #include <stdlib.h> diff --git a/src/call-channel.c b/src/call-channel.c index affa8390c..8e7b4bce2 100644 --- a/src/call-channel.c +++ b/src/call-channel.c @@ -19,6 +19,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "config.h" #include <stdio.h> #include <stdlib.h> diff --git a/src/call-content.c b/src/call-content.c index 8ca94be97..8550b82fc 100644 --- a/src/call-content.c +++ b/src/call-content.c @@ -18,6 +18,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "config.h" + #include <stdio.h> #include <stdlib.h> diff --git a/src/call-member-content.c b/src/call-member-content.c index 7d9f099aa..8899b0f58 100644 --- a/src/call-member-content.c +++ b/src/call-member-content.c @@ -18,6 +18,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "config.h" #include <stdio.h> #include <stdlib.h> diff --git a/src/call-member.c b/src/call-member.c index c5522d16a..aba19013b 100644 --- a/src/call-member.c +++ b/src/call-member.c @@ -18,6 +18,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "config.h" #include <stdio.h> #include <stdlib.h> diff --git a/src/call-muc-channel.c b/src/call-muc-channel.c index fdd5e7107..62d40c695 100644 --- a/src/call-muc-channel.c +++ b/src/call-muc-channel.c @@ -18,6 +18,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "config.h" #include <stdio.h> #include <stdlib.h> diff --git a/src/conn-addressing.c b/src/conn-addressing.c index 6842ae008..79e742548 100644 --- a/src/conn-addressing.c +++ b/src/conn-addressing.c @@ -17,6 +17,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "config.h" + #include "conn-addressing.h" #include <dbus/dbus-glib-lowlevel.h> diff --git a/src/conn-power-saving.c b/src/conn-power-saving.c index 07b6a896b..de6cc54d2 100644 --- a/src/conn-power-saving.c +++ b/src/conn-power-saving.c @@ -18,6 +18,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "config.h" #include "conn-power-saving.h" #define DEBUG_FLAG GABBLE_DEBUG_CONNECTION diff --git a/src/conn-sidecars.c b/src/conn-sidecars.c index 39c3c00b2..eb47bad0a 100644 --- a/src/conn-sidecars.c +++ b/src/conn-sidecars.c @@ -18,6 +18,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "config.h" + #include "conn-sidecars.h" #include <telepathy-glib/dbus.h> diff --git a/src/conn-util.c b/src/conn-util.c index 98be2448e..00f2e4d15 100644 --- a/src/conn-util.c +++ b/src/conn-util.c @@ -17,6 +17,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "config.h" #include "conn-util.h" #include <gabble/gabble.h> diff --git a/src/gtalk-file-collection.c b/src/gtalk-file-collection.c index 9490ca542..e13180fe0 100644 --- a/src/gtalk-file-collection.c +++ b/src/gtalk-file-collection.c @@ -18,7 +18,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ - +#include "config.h" #include "gtalk-file-collection.h" #include <stdio.h> diff --git a/src/jingle-content.c b/src/jingle-content.c index ec98e0b19..4989a3280 100644 --- a/src/jingle-content.c +++ b/src/jingle-content.c @@ -17,6 +17,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "config.h" #include "jingle-content.h" #include <stdio.h> diff --git a/src/jingle-info.c b/src/jingle-info.c index 4bc15b529..4048fa3b3 100644 --- a/src/jingle-info.c +++ b/src/jingle-info.c @@ -17,6 +17,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "config.h" #include "jingle-info.h" #include <stdlib.h> diff --git a/src/jingle-media-rtp.c b/src/jingle-media-rtp.c index 179c3f2ad..9a120078c 100644 --- a/src/jingle-media-rtp.c +++ b/src/jingle-media-rtp.c @@ -22,6 +22,7 @@ * supports standard Jingle drafts (v0.15, v0.26) and Google's jingle variants * (libjingle 0.3/0.4). */ +#include "config.h" #include "jingle-media-rtp.h" #include <stdio.h> diff --git a/src/jingle-mint.c b/src/jingle-mint.c index 9ea90129c..f575cfd39 100644 --- a/src/jingle-mint.c +++ b/src/jingle-mint.c @@ -24,6 +24,7 @@ * "foundry" to make JingleFactory and this class have different initials. */ +#include "config.h" #include "jingle-mint.h" #define DEBUG_FLAG GABBLE_DEBUG_MEDIA diff --git a/src/jingle-session.c b/src/jingle-session.c index 0d2e016cc..0e266b92d 100644 --- a/src/jingle-session.c +++ b/src/jingle-session.c @@ -17,6 +17,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "config.h" #include "jingle-session.h" #include <stdio.h> diff --git a/src/jingle-share.c b/src/jingle-share.c index fe163c37d..838888c2d 100644 --- a/src/jingle-share.c +++ b/src/jingle-share.c @@ -21,6 +21,7 @@ /* Share content type deals with file sharing content, ie. file transfers. It * Google's jingle variants (libjingle 0.3/0.4). */ +#include "config.h" #include "jingle-share.h" #include <stdio.h> diff --git a/src/jingle-tp-util.c b/src/jingle-tp-util.c index 19f3151d7..d6378f45c 100644 --- a/src/jingle-tp-util.c +++ b/src/jingle-tp-util.c @@ -17,6 +17,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "config.h" + #include "jingle-tp-util.h" JingleMediaType diff --git a/src/jingle-transport-google.c b/src/jingle-transport-google.c index 2c86cc5fd..491036d48 100644 --- a/src/jingle-transport-google.c +++ b/src/jingle-transport-google.c @@ -18,6 +18,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "config.h" #include "jingle-transport-google.h" #include <stdio.h> diff --git a/src/jingle-transport-iceudp.c b/src/jingle-transport-iceudp.c index 5defb2114..cd7f3a1e3 100644 --- a/src/jingle-transport-iceudp.c +++ b/src/jingle-transport-iceudp.c @@ -18,6 +18,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "config.h" #include "jingle-transport-iceudp.h" #include <stdio.h> diff --git a/src/jingle-transport-iface.c b/src/jingle-transport-iface.c index 5e4e50eb0..7a1ca9bf3 100644 --- a/src/jingle-transport-iface.c +++ b/src/jingle-transport-iface.c @@ -17,6 +17,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "config.h" #include "jingle-transport-iface.h" #include <glib.h> diff --git a/src/jingle-transport-rawudp.c b/src/jingle-transport-rawudp.c index 37a5d1b61..17b1b1f8f 100644 --- a/src/jingle-transport-rawudp.c +++ b/src/jingle-transport-rawudp.c @@ -18,6 +18,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "config.h" #include "jingle-transport-rawudp.h" #include <stdio.h> diff --git a/src/media-channel-hold.c b/src/media-channel-hold.c index 646ab93a4..bb4cb576c 100644 --- a/src/media-channel-hold.c +++ b/src/media-channel-hold.c @@ -18,6 +18,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "config.h" #include "media-channel.h" #include "media-channel-internal.h" diff --git a/src/message-util.c b/src/message-util.c index ee9c1d028..5001be307 100644 --- a/src/message-util.c +++ b/src/message-util.c @@ -22,6 +22,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "config.h" #include "message-util.h" #include <string.h> diff --git a/src/muc-tube-dbus.c b/src/muc-tube-dbus.c index 5ed1eefd6..2aa61fc82 100644 --- a/src/muc-tube-dbus.c +++ b/src/muc-tube-dbus.c @@ -17,6 +17,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "config.h" #include "muc-tube-dbus.h" G_DEFINE_TYPE (GabbleMucTubeDBus, gabble_muc_tube_dbus, diff --git a/src/muc-tube-stream.c b/src/muc-tube-stream.c index ad173fed9..3700c46f6 100644 --- a/src/muc-tube-stream.c +++ b/src/muc-tube-stream.c @@ -17,6 +17,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "config.h" #include "muc-tube-stream.h" G_DEFINE_TYPE (GabbleMucTubeStream, gabble_muc_tube_stream, diff --git a/src/olpc-activity.c b/src/olpc-activity.c index 7d8028e6d..1c5f7d3af 100644 --- a/src/olpc-activity.c +++ b/src/olpc-activity.c @@ -17,6 +17,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "config.h" #include "olpc-activity.h" #include <stdlib.h> diff --git a/src/plugin-connection.c b/src/plugin-connection.c index abec9e404..0d0d95e9f 100644 --- a/src/plugin-connection.c +++ b/src/plugin-connection.c @@ -17,6 +17,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "config.h" + #include "gabble/plugin-connection.h" #include <glib-object.h> diff --git a/src/plugin-loader.c b/src/plugin-loader.c index 61a005f00..dedc724ad 100644 --- a/src/plugin-loader.c +++ b/src/plugin-loader.c @@ -18,6 +18,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "config.h" + #include "plugin-loader.h" #include <glib.h> diff --git a/src/plugin.c b/src/plugin.c index dd0d730a1..2003d3e87 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -18,6 +18,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "config.h" + #include "gabble/plugin.h" #include <telepathy-glib/errors.h> diff --git a/src/protocol.c b/src/protocol.c index 144521993..a8bceb2ff 100644 --- a/src/protocol.c +++ b/src/protocol.c @@ -17,6 +17,7 @@ * 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/room-config.c b/src/room-config.c index 6345fc767..47489058f 100644 --- a/src/room-config.c +++ b/src/room-config.c @@ -17,6 +17,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "config.h" #include "room-config.h" #include "muc-channel.h" diff --git a/src/sidecar.c b/src/sidecar.c index 295e61f1d..69ede729b 100644 --- a/src/sidecar.c +++ b/src/sidecar.c @@ -18,6 +18,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "config.h" + #include "gabble/sidecar.h" GType diff --git a/tests/test-gabble-idle-weak.c b/tests/test-gabble-idle-weak.c index 33422277d..37f81d575 100644 --- a/tests/test-gabble-idle-weak.c +++ b/tests/test-gabble-idle-weak.c @@ -1,3 +1,4 @@ +#include "config.h" #include <glib.h> diff --git a/tests/twisted/main-debug.c b/tests/twisted/main-debug.c index 89166670e..2e860c17f 100644 --- a/tests/twisted/main-debug.c +++ b/tests/twisted/main-debug.c @@ -17,6 +17,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "config.h" + #include <stdlib.h> #include "gabble.h" diff --git a/tests/twisted/test-resolver.c b/tests/twisted/test-resolver.c index 4e2274119..6d29252e2 100644 --- a/tests/twisted/test-resolver.c +++ b/tests/twisted/test-resolver.c @@ -30,6 +30,8 @@ * test_resolver_add_A (TEST_RESOLVER (kludged), "localhost", "127.0.1.1"); */ +#include "config.h" + #include <stdio.h> #include <glib.h> |