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"