diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-04-04 10:35:06 +0200 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-04-04 10:37:02 +0200 |
commit | 26d079908e9e91f3659f5616af6b879f8bb0ac4d (patch) | |
tree | 5c3a0c8f3049f616ecdda026328b00f35c61889e /tests | |
parent | f26612018fe65d78581bfc5c8c23608d23750686 (diff) |
add missing config.h includes
Diffstat (limited to 'tests')
32 files changed, 126 insertions, 1 deletions
diff --git a/tests/test-resolver.c b/tests/test-resolver.c index 323e5e5..74c7a1a 100644 --- a/tests/test-resolver.c +++ b/tests/test-resolver.c @@ -32,6 +32,10 @@ * test_resolver_add_A (TEST_RESOLVER (kludged), "localhost", "127.0.1.1"); */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdio.h> #include <glib.h> diff --git a/tests/wocky-bare-contact-test.c b/tests/wocky-bare-contact-test.c index 336df13..e92471f 100644 --- a/tests/wocky-bare-contact-test.c +++ b/tests/wocky-bare-contact-test.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdio.h> #include <unistd.h> #include <string.h> diff --git a/tests/wocky-caps-hash-test.c b/tests/wocky-caps-hash-test.c index 55cf9e3..2d72b55 100644 --- a/tests/wocky-caps-hash-test.c +++ b/tests/wocky-caps-hash-test.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <glib.h> #include <wocky/wocky.h> diff --git a/tests/wocky-contact-factory-test.c b/tests/wocky-contact-factory-test.c index 99dd7b1..9a5d10f 100644 --- a/tests/wocky-contact-factory-test.c +++ b/tests/wocky-contact-factory-test.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdio.h> #include <unistd.h> #include <string.h> diff --git a/tests/wocky-data-form-test.c b/tests/wocky-data-form-test.c index 29c4410..e6f2374 100644 --- a/tests/wocky-data-form-test.c +++ b/tests/wocky-data-form-test.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdio.h> #include <unistd.h> #include <string.h> diff --git a/tests/wocky-dummy-xmpp-server.c b/tests/wocky-dummy-xmpp-server.c index eeaded4..71ea935 100644 --- a/tests/wocky-dummy-xmpp-server.c +++ b/tests/wocky-dummy-xmpp-server.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdio.h> #include <string.h> #include <glib.h> diff --git a/tests/wocky-http-proxy-test.c b/tests/wocky-http-proxy-test.c index ac9cca2..eb48b29 100644 --- a/tests/wocky-http-proxy-test.c +++ b/tests/wocky-http-proxy-test.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "wocky-test-stream.h" #include "wocky-test-helper.h" diff --git a/tests/wocky-jid-validation-test.c b/tests/wocky-jid-validation-test.c index b2d22bf..ead1f03 100644 --- a/tests/wocky-jid-validation-test.c +++ b/tests/wocky-jid-validation-test.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <glib.h> #include <wocky/wocky.h> diff --git a/tests/wocky-loopback-test.c b/tests/wocky-loopback-test.c index 9afc7a3..f8a6f9f 100644 --- a/tests/wocky-loopback-test.c +++ b/tests/wocky-loopback-test.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <wocky/wocky.h> #include "wocky-test-helper.h" diff --git a/tests/wocky-node-tree-test.c b/tests/wocky-node-tree-test.c index 8385bea..bb2183f 100644 --- a/tests/wocky-node-tree-test.c +++ b/tests/wocky-node-tree-test.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdio.h> #include <unistd.h> #include <string.h> diff --git a/tests/wocky-pep-service-test.c b/tests/wocky-pep-service-test.c index 85f88fc..fb47fe2 100644 --- a/tests/wocky-pep-service-test.c +++ b/tests/wocky-pep-service-test.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdio.h> #include <unistd.h> #include <string.h> diff --git a/tests/wocky-ping-test.c b/tests/wocky-ping-test.c index 6470791..39ea257 100644 --- a/tests/wocky-ping-test.c +++ b/tests/wocky-ping-test.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdio.h> #include <unistd.h> #include <string.h> diff --git a/tests/wocky-porter-test.c b/tests/wocky-porter-test.c index e96f965..9eb420d 100644 --- a/tests/wocky-porter-test.c +++ b/tests/wocky-porter-test.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdio.h> #include <unistd.h> #include <string.h> diff --git a/tests/wocky-pubsub-node-test.c b/tests/wocky-pubsub-node-test.c index 6320753..f4eb5ba 100644 --- a/tests/wocky-pubsub-node-test.c +++ b/tests/wocky-pubsub-node-test.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdio.h> #include <unistd.h> #include <string.h> diff --git a/tests/wocky-pubsub-service-test.c b/tests/wocky-pubsub-service-test.c index ee91547..2493f14 100644 --- a/tests/wocky-pubsub-service-test.c +++ b/tests/wocky-pubsub-service-test.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdio.h> #include <unistd.h> #include <string.h> diff --git a/tests/wocky-pubsub-test-helpers.c b/tests/wocky-pubsub-test-helpers.c index 96c5a96..cae7e08 100644 --- a/tests/wocky-pubsub-test-helpers.c +++ b/tests/wocky-pubsub-test-helpers.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "wocky-pubsub-test-helpers.h" #include <wocky/wocky.h> diff --git a/tests/wocky-resource-contact-test.c b/tests/wocky-resource-contact-test.c index 355a76e..27dcaef 100644 --- a/tests/wocky-resource-contact-test.c +++ b/tests/wocky-resource-contact-test.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdio.h> #include <unistd.h> #include <string.h> diff --git a/tests/wocky-roster-test.c b/tests/wocky-roster-test.c index 37c1309..e62ec26 100644 --- a/tests/wocky-roster-test.c +++ b/tests/wocky-roster-test.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdio.h> #include <unistd.h> #include <string.h> diff --git a/tests/wocky-sasl-utils-test.c b/tests/wocky-sasl-utils-test.c index aec6cf4..06287d0 100644 --- a/tests/wocky-sasl-utils-test.c +++ b/tests/wocky-sasl-utils-test.c @@ -17,6 +17,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdio.h> #include <wocky/wocky.h> diff --git a/tests/wocky-scram-sha1-test.c b/tests/wocky-scram-sha1-test.c index a1a8ed8..54081cd 100644 --- a/tests/wocky-scram-sha1-test.c +++ b/tests/wocky-scram-sha1-test.c @@ -17,6 +17,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdio.h> #include <wocky/wocky.h> diff --git a/tests/wocky-session-test.c b/tests/wocky-session-test.c index 60eb2ac..1c78025 100644 --- a/tests/wocky-session-test.c +++ b/tests/wocky-session-test.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdio.h> #include <unistd.h> #include <string.h> diff --git a/tests/wocky-stanza-test.c b/tests/wocky-stanza-test.c index 87a9508..3936e77 100644 --- a/tests/wocky-stanza-test.c +++ b/tests/wocky-stanza-test.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdio.h> #include <unistd.h> #include <string.h> diff --git a/tests/wocky-test-helper.c b/tests/wocky-test-helper.c index e8713f0..9cf0775 100644 --- a/tests/wocky-test-helper.c +++ b/tests/wocky-test-helper.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <wocky/wocky.h> #include "wocky-test-helper.h" diff --git a/tests/wocky-test-sasl-auth-server.c b/tests/wocky-test-sasl-auth-server.c index d4647b2..b5b4c76 100644 --- a/tests/wocky-test-sasl-auth-server.c +++ b/tests/wocky-test-sasl-auth-server.c @@ -18,6 +18,9 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include <stdio.h> #include <stdlib.h> @@ -28,7 +31,6 @@ #include "wocky-test-sasl-auth-server.h" -#include "config.h" #ifdef HAVE_LIBSASL2 diff --git a/tests/wocky-test-sasl-auth.c b/tests/wocky-test-sasl-auth.c index 8a5ce63..ea956bf 100644 --- a/tests/wocky-test-sasl-auth.c +++ b/tests/wocky-test-sasl-auth.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdio.h> #include "wocky-test-sasl-auth-server.h" diff --git a/tests/wocky-test-sasl-handler.c b/tests/wocky-test-sasl-handler.c index d7c83c0..26c23ac 100644 --- a/tests/wocky-test-sasl-handler.c +++ b/tests/wocky-test-sasl-handler.c @@ -1,3 +1,6 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include "wocky-test-sasl-handler.h" diff --git a/tests/wocky-test-stream.c b/tests/wocky-test-stream.c index 8722b12..1e691f7 100644 --- a/tests/wocky-test-stream.c +++ b/tests/wocky-test-stream.c @@ -18,6 +18,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/tests/wocky-utils-test.c b/tests/wocky-utils-test.c index efd9808..a6373ce 100644 --- a/tests/wocky-utils-test.c +++ b/tests/wocky-utils-test.c @@ -18,6 +18,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <wocky/wocky.h> static void diff --git a/tests/wocky-xmpp-connection-test.c b/tests/wocky-xmpp-connection-test.c index 01623d4..0e83764 100644 --- a/tests/wocky-xmpp-connection-test.c +++ b/tests/wocky-xmpp-connection-test.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdio.h> #include <unistd.h> #include <string.h> diff --git a/tests/wocky-xmpp-node-test.c b/tests/wocky-xmpp-node-test.c index 0bef12b..3498ff5 100644 --- a/tests/wocky-xmpp-node-test.c +++ b/tests/wocky-xmpp-node-test.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdio.h> #include <unistd.h> #include <string.h> diff --git a/tests/wocky-xmpp-reader-test.c b/tests/wocky-xmpp-reader-test.c index de64cf1..80bb0da 100644 --- a/tests/wocky-xmpp-reader-test.c +++ b/tests/wocky-xmpp-reader-test.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdio.h> #include <unistd.h> #include <string.h> diff --git a/tests/wocky-xmpp-readwrite-test.c b/tests/wocky-xmpp-readwrite-test.c index ca48ae5..c6579d3 100644 --- a/tests/wocky-xmpp-readwrite-test.c +++ b/tests/wocky-xmpp-readwrite-test.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdio.h> #include <unistd.h> #include <string.h> |