Fix implicit declaration of functions.
https://gitlab.freedesktop.org/gstreamer/common/-/commit/f74b2df7a2e18b56c7eef9cae0810c505d2fc9e1
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/632431aecbbc75c91526db26d312e3cbfab015d4
--- configure.orig	2012-02-20 16:48:20.000000000 -0600
+++ configure	2021-03-23 10:35:34.000000000 -0500
@@ -23045,6 +23045,7 @@
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
+	#include <stdlib.h>
 	#include <time.h>
 	int main(void) {
 	  struct tm t;
--- gst/Makefile.in.orig	2012-02-20 16:48:23.000000000 -0600
+++ gst/Makefile.in	2021-03-23 10:52:55.000000000 -0500
@@ -1800,7 +1800,7 @@
 @HAVE_INTROSPECTION_TRUE@		--pkg gthread-2.0 \
 @HAVE_INTROSPECTION_TRUE@		--pkg libxml-2.0 \
 @HAVE_INTROSPECTION_TRUE@		--pkg-export gstreamer-0.10 \
-@HAVE_INTROSPECTION_TRUE@		--add-init-section="gst_init(NULL, NULL);" \
+@HAVE_INTROSPECTION_TRUE@		--add-init-section="extern void gst_init(gint*,gchar**); gst_init(NULL,NULL);" \
 @HAVE_INTROSPECTION_TRUE@		--output $@ \
 @HAVE_INTROSPECTION_TRUE@		$(gir_headers) \
 @HAVE_INTROSPECTION_TRUE@		$(gir_sources)
--- libs/gst/base/Makefile.in.orig	2012-02-20 16:48:26.000000000 -0600
+++ libs/gst/base/Makefile.in	2021-03-23 10:52:06.000000000 -0500
@@ -1012,7 +1012,7 @@
 @HAVE_INTROSPECTION_TRUE@		--libtool="$(top_builddir)/libtool" \
 @HAVE_INTROSPECTION_TRUE@		--pkg gstreamer-0.10 \
 @HAVE_INTROSPECTION_TRUE@		--pkg-export gstreamer-base-0.10 \
-@HAVE_INTROSPECTION_TRUE@		--add-init-section="gst_init(NULL,NULL);" \
+@HAVE_INTROSPECTION_TRUE@		--add-init-section="extern void gst_init(gint*,gchar**); gst_init(NULL,NULL);" \
 @HAVE_INTROSPECTION_TRUE@		--output $@ \
 @HAVE_INTROSPECTION_TRUE@		$(gir_headers) \
 @HAVE_INTROSPECTION_TRUE@		$(gir_sources)
--- libs/gst/check/Makefile.in.orig	2012-02-20 16:48:26.000000000 -0600
+++ libs/gst/check/Makefile.in	2021-03-23 10:52:12.000000000 -0500
@@ -1149,7 +1149,7 @@
 @HAVE_INTROSPECTION_TRUE@		--libtool="$(top_builddir)/libtool" \
 @HAVE_INTROSPECTION_TRUE@		--pkg gstreamer-0.10 \
 @HAVE_INTROSPECTION_TRUE@		--pkg-export gstreamer-check-0.10 \
-@HAVE_INTROSPECTION_TRUE@		--add-init-section="gst_init(NULL,NULL);" \
+@HAVE_INTROSPECTION_TRUE@		--add-init-section="extern void gst_init(gint*,gchar**); gst_init(NULL,NULL);" \
 @HAVE_INTROSPECTION_TRUE@		--output $@ \
 @HAVE_INTROSPECTION_TRUE@		$(gir_headers) \
 @HAVE_INTROSPECTION_TRUE@		$(gir_sources)
--- libs/gst/controller/Makefile.in.orig	2012-02-20 16:48:26.000000000 -0600
+++ libs/gst/controller/Makefile.in	2021-03-23 10:52:17.000000000 -0500
@@ -941,7 +941,7 @@
 @HAVE_INTROSPECTION_TRUE@		--libtool="$(top_builddir)/libtool" \
 @HAVE_INTROSPECTION_TRUE@		--pkg gstreamer-0.10 \
 @HAVE_INTROSPECTION_TRUE@		--pkg-export gstreamer-controller-0.10 \
-@HAVE_INTROSPECTION_TRUE@		--add-init-section="gst_init(NULL,NULL);" \
+@HAVE_INTROSPECTION_TRUE@		--add-init-section="extern void gst_init(gint*,gchar**); gst_init(NULL,NULL);" \
 @HAVE_INTROSPECTION_TRUE@		--output $@ \
 @HAVE_INTROSPECTION_TRUE@		$(gir_headers) \
 @HAVE_INTROSPECTION_TRUE@		$(gir_sources)
--- libs/gst/net/Makefile.in.orig	2012-02-20 16:48:27.000000000 -0600
+++ libs/gst/net/Makefile.in	2021-03-23 10:52:21.000000000 -0500
@@ -894,7 +894,7 @@
 @HAVE_INTROSPECTION_TRUE@		--libtool="$(top_builddir)/libtool" \
 @HAVE_INTROSPECTION_TRUE@		--pkg gstreamer-0.10 \
 @HAVE_INTROSPECTION_TRUE@		--pkg-export="gstreamer-net-0.10" \
-@HAVE_INTROSPECTION_TRUE@		--add-init-section="gst_init(NULL,NULL);" \
+@HAVE_INTROSPECTION_TRUE@		--add-init-section="extern void gst_init(gint*,gchar**); gst_init(NULL,NULL);" \
 @HAVE_INTROSPECTION_TRUE@		--output $@ \
 @HAVE_INTROSPECTION_TRUE@		$(gir_headers) \
 @HAVE_INTROSPECTION_TRUE@		$(gir_sources)