rtsp: fix build with older GLib versions

The gio/gnetworking.h header is only available since glib 2.36

https://bugzilla.gnome.org/show_bug.cgi?id=725206
This commit is contained in:
Tim-Philipp Müller 2014-02-26 11:43:06 +00:00
parent 5445682c6a
commit 14b82bbc9a

View file

@ -66,7 +66,9 @@
#include <gst/gst.h> #include <gst/gst.h>
/* necessary for IP_TOS define */ /* necessary for IP_TOS define */
#if GLIB_CHECK_VERSION(2, 36, 0)
#include <gio/gnetworking.h> #include <gio/gnetworking.h>
#endif
#include "gstrtspconnection.h" #include "gstrtspconnection.h"