From cf94d498e68b4138d83ab321b42f1df6dd8f1426 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Wed, 7 May 2014 13:23:50 +0100 Subject: [PATCH] tests: fix compilation of souphttpsrc test for libsoup 2.40 SOUP_CHECK_VERSION was only added in 2.41, but we only depend on 2.40. https://bugzilla.gnome.org/show_bug.cgi?id=727329 --- tests/check/elements/souphttpsrc.c | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/tests/check/elements/souphttpsrc.c b/tests/check/elements/souphttpsrc.c index 4a275d5d4b..13c0aca127 100644 --- a/tests/check/elements/souphttpsrc.c +++ b/tests/check/elements/souphttpsrc.c @@ -27,17 +27,10 @@ #include #include -#include -#include -#include -#include -#include -#include -#include -#include +#include #include -#if !(SOUP_CHECK_VERSION(2, 44, 0)) +#if !defined(SOUP_CHECK_VERSION) || !SOUP_CHECK_VERSION(2, 44, 0) #define SoupStatus SoupKnownStatusCode #endif