diff options
-rw-r--r-- | tests/proxy.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/proxy.c b/tests/proxy.c index 36414de..74379e8 100644 --- a/tests/proxy.c +++ b/tests/proxy.c @@ -36,6 +36,11 @@ #include <libsoup/soup.h> #include <rest/rest-proxy.h> +#if SOUP_CHECK_VERSION (2, 28, 0) +/* Avoid deprecation warning with newer libsoup */ +#define soup_message_headers_get soup_message_headers_get_one +#endif + static int errors = 0; static void |