mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 08:11:16 +00:00
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:
parent
5445682c6a
commit
14b82bbc9a
1 changed files with 2 additions and 0 deletions
|
@ -66,7 +66,9 @@
|
|||
#include <gst/gst.h>
|
||||
|
||||
/* necessary for IP_TOS define */
|
||||
#if GLIB_CHECK_VERSION(2, 36, 0)
|
||||
#include <gio/gnetworking.h>
|
||||
#endif
|
||||
|
||||
#include "gstrtspconnection.h"
|
||||
|
||||
|
|
Loading…
Reference in a new issue