From 2941d87ccaae406e38d70ce96ed0cdbad8f9db9e Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Mon, 22 Apr 2013 15:06:41 +0100 Subject: [PATCH 1/3] Include config.h in each source file Among other effects, this makes GLIB_VERSION_MIN_REQUIRED effective. --- src/idle-contact-info.c | 1 + src/idle-ctcp.c | 1 + src/idle-debug.c | 1 + src/idle-handles.c | 1 + src/idle-im-manager.c | 2 ++ src/idle-roomlist-channel.c | 1 + src/idle-roomlist-manager.c | 1 + src/idle-server-connection.c | 1 + src/idle-text.c | 1 + src/room-config.c | 1 + tests/test-ctcp-kill-blingbling.c | 2 ++ tests/test-ctcp-tokenize.c | 2 ++ tests/test-text-encode-and-split.c | 2 ++ 13 files changed, 17 insertions(+) diff --git a/src/idle-contact-info.c b/src/idle-contact-info.c index b87774c..0a9f40a 100644 --- a/src/idle-contact-info.c +++ b/src/idle-contact-info.c @@ -17,6 +17,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "config.h" #include "idle-contact-info.h" #include diff --git a/src/idle-ctcp.c b/src/idle-ctcp.c index 6285e69..f282360 100644 --- a/src/idle-ctcp.c +++ b/src/idle-ctcp.c @@ -18,6 +18,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "config.h" #include "idle-ctcp.h" #include diff --git a/src/idle-debug.c b/src/idle-debug.c index 156dc3b..e8a2854 100644 --- a/src/idle-debug.c +++ b/src/idle-debug.c @@ -17,6 +17,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "config.h" #include "idle-debug.h" #include diff --git a/src/idle-handles.c b/src/idle-handles.c index 3aa07d9..96cb3c8 100644 --- a/src/idle-handles.c +++ b/src/idle-handles.c @@ -18,6 +18,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "config.h" #include "idle-handles.h" #include diff --git a/src/idle-im-manager.c b/src/idle-im-manager.c index 71fe7a0..d883c74 100644 --- a/src/idle-im-manager.c +++ b/src/idle-im-manager.c @@ -18,6 +18,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "config.h" + #include "idle-im-manager.h" #include diff --git a/src/idle-roomlist-channel.c b/src/idle-roomlist-channel.c index f85adb6..4dc53d1 100644 --- a/src/idle-roomlist-channel.c +++ b/src/idle-roomlist-channel.c @@ -20,6 +20,7 @@ * Jonathon Jongsma */ +#include "config.h" #include "idle-roomlist-channel.h" #include diff --git a/src/idle-roomlist-manager.c b/src/idle-roomlist-manager.c index 36594e5..0dbe133 100644 --- a/src/idle-roomlist-manager.c +++ b/src/idle-roomlist-manager.c @@ -20,6 +20,7 @@ * Jonathon Jongsma */ +#include "config.h" #include "idle-roomlist-manager.h" #include diff --git a/src/idle-server-connection.c b/src/idle-server-connection.c index 700b5f8..8a4bb98 100644 --- a/src/idle-server-connection.c +++ b/src/idle-server-connection.c @@ -19,6 +19,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "config.h" #include "idle-server-connection.h" #include diff --git a/src/idle-text.c b/src/idle-text.c index a168787..e54b487 100644 --- a/src/idle-text.c +++ b/src/idle-text.c @@ -18,6 +18,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "config.h" #include "idle-text.h" #include diff --git a/src/room-config.c b/src/room-config.c index aedff67..30e413d 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 "idle-muc-channel.h" diff --git a/tests/test-ctcp-kill-blingbling.c b/tests/test-ctcp-kill-blingbling.c index 559282b..b36d663 100644 --- a/tests/test-ctcp-kill-blingbling.c +++ b/tests/test-ctcp-kill-blingbling.c @@ -1,3 +1,5 @@ +#include "config.h" + #include #include diff --git a/tests/test-ctcp-tokenize.c b/tests/test-ctcp-tokenize.c index 58794d8..9d15cff 100644 --- a/tests/test-ctcp-tokenize.c +++ b/tests/test-ctcp-tokenize.c @@ -1,3 +1,5 @@ +#include "config.h" + #include #include diff --git a/tests/test-text-encode-and-split.c b/tests/test-text-encode-and-split.c index c0a6083..c68439e 100644 --- a/tests/test-text-encode-and-split.c +++ b/tests/test-text-encode-and-split.c @@ -1,3 +1,5 @@ +#include "config.h" + #include #include -- 1.7.10.4