From 41ff7727dc70efd8042218dcd398220411b30379 Mon Sep 17 00:00:00 2001 From: wbartel Date: Wed, 12 Feb 2025 16:51:24 +0100 Subject: [PATCH] webrtc: fix recursive G_BEGIN_DECLS and include missing sctptransport.h in webrtc.h Part-of: --- subprojects/gst-plugins-bad/gst-libs/gst/webrtc/webrtc-priv.h | 1 + subprojects/gst-plugins-bad/gst-libs/gst/webrtc/webrtc.h | 1 + subprojects/gst-plugins-bad/gst-libs/gst/webrtc/webrtc_fwd.h | 2 -- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/webrtc/webrtc-priv.h b/subprojects/gst-plugins-bad/gst-libs/gst/webrtc/webrtc-priv.h index 67676a38e0..776a752a1e 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/webrtc/webrtc-priv.h +++ b/subprojects/gst-plugins-bad/gst-libs/gst/webrtc/webrtc-priv.h @@ -22,6 +22,7 @@ #include #include +#include #include #include diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/webrtc/webrtc.h b/subprojects/gst-plugins-bad/gst-libs/gst/webrtc/webrtc.h index a467bdb922..43e283e821 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/webrtc/webrtc.h +++ b/subprojects/gst-plugins-bad/gst-libs/gst/webrtc/webrtc.h @@ -31,6 +31,7 @@ #include #include #include +#include #include #endif /* __GST_WEBRTC_WEBRTC_H__ */ diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/webrtc/webrtc_fwd.h b/subprojects/gst-plugins-bad/gst-libs/gst/webrtc/webrtc_fwd.h index c7de3978f9..0bb01f3241 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/webrtc/webrtc_fwd.h +++ b/subprojects/gst-plugins-bad/gst-libs/gst/webrtc/webrtc_fwd.h @@ -56,8 +56,6 @@ G_BEGIN_DECLS #define GST_WEBRTC_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) GST_WEBRTC_API #endif -#include - /** * GstWebRTCDTLSTransport: */