From 14b82bbc9a50530e4bf9c66f9b99fb5a0f931ce4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Wed, 26 Feb 2014 11:43:06 +0000 Subject: [PATCH] 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 --- gst-libs/gst/rtsp/gstrtspconnection.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gst-libs/gst/rtsp/gstrtspconnection.c b/gst-libs/gst/rtsp/gstrtspconnection.c index 80037bddf1..bde854c834 100644 --- a/gst-libs/gst/rtsp/gstrtspconnection.c +++ b/gst-libs/gst/rtsp/gstrtspconnection.c @@ -66,7 +66,9 @@ #include /* necessary for IP_TOS define */ +#if GLIB_CHECK_VERSION(2, 36, 0) #include +#endif #include "gstrtspconnection.h"