From c10c55bc5a5d3d3f2f14507e72b8d6f4a7794c93 Mon Sep 17 00:00:00 2001 From: Diego Nieto Date: Thu, 21 Nov 2024 00:07:31 +0100 Subject: [PATCH] rtpsource: include config.h header to avoid g_memdup2 link issue Without adding the header a link issue related g_memdup2 might happen. In versions below 2.67.4 that symbol is manually introduced in the meson config files. Part-of: --- subprojects/gst-plugins-good/gst/rtpmanager/rtpsource.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/subprojects/gst-plugins-good/gst/rtpmanager/rtpsource.c b/subprojects/gst-plugins-good/gst/rtpmanager/rtpsource.c index 5398e1440b..1b70a360e7 100644 --- a/subprojects/gst-plugins-good/gst/rtpmanager/rtpsource.c +++ b/subprojects/gst-plugins-good/gst/rtpmanager/rtpsource.c @@ -18,6 +18,11 @@ * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, * Boston, MA 02110-1301, USA. */ + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include #include