mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 03:29:50 +00:00
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
This commit is contained in:
parent
615f6e55c1
commit
cf94d498e6
1 changed files with 2 additions and 9 deletions
|
@ -27,17 +27,10 @@
|
|||
|
||||
#include <glib.h>
|
||||
#include <glib/gprintf.h>
|
||||
#include <libsoup/soup-address.h>
|
||||
#include <libsoup/soup-message.h>
|
||||
#include <libsoup/soup-misc.h>
|
||||
#include <libsoup/soup-server.h>
|
||||
#include <libsoup/soup-auth-domain.h>
|
||||
#include <libsoup/soup-auth-domain-basic.h>
|
||||
#include <libsoup/soup-auth-domain-digest.h>
|
||||
#include <libsoup/soup-version.h>
|
||||
#include <libsoup/soup.h>
|
||||
#include <gst/check/gstcheck.h>
|
||||
|
||||
#if !(SOUP_CHECK_VERSION(2, 44, 0))
|
||||
#if !defined(SOUP_CHECK_VERSION) || !SOUP_CHECK_VERSION(2, 44, 0)
|
||||
#define SoupStatus SoupKnownStatusCode
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue