diff --git a/api/peer_connection_interface.h b/api/peer_connection_interface.h index 52422c0d87..a1280de551 100644 --- a/api/peer_connection_interface.h +++ b/api/peer_connection_interface.h @@ -201,7 +201,7 @@ class RTC_EXPORT PeerConnectionInterface : public rtc::RefCountInterface { kTlsCertPolicyInsecureNoCheck, }; - struct IceServer { + struct RTC_EXPORT IceServer { IceServer(); IceServer(const IceServer&); ~IceServer(); diff --git a/api/stats_types.h b/api/stats_types.h index e10834cd5e..c1922a8a22 100644 --- a/api/stats_types.h +++ b/api/stats_types.h @@ -242,7 +242,7 @@ class RTC_EXPORT StatsReport { kStatsValueNameAudioDeviceUnderrunCounter, }; - class IdBase : public rtc::RefCountInterface { + class RTC_EXPORT IdBase : public rtc::RefCountInterface { public: ~IdBase() override; StatsType type() const; @@ -268,7 +268,7 @@ class RTC_EXPORT StatsReport { typedef rtc::scoped_refptr Id; - struct Value { + struct RTC_EXPORT Value { enum Type { kInt, // int. kInt64, // int64_t.