diff --git a/p2p/base/ice_controller_interface.h b/p2p/base/ice_controller_interface.h index 482043ef35..8b63ed3fc3 100644 --- a/p2p/base/ice_controller_interface.h +++ b/p2p/base/ice_controller_interface.h @@ -19,12 +19,13 @@ #include "p2p/base/connection.h" #include "p2p/base/ice_switch_reason.h" #include "p2p/base/ice_transport_internal.h" +#include "rtc_base/system/rtc_export.h" namespace cricket { struct IceFieldTrials; // Forward declaration to avoid circular dependency. -struct IceRecheckEvent { +struct RTC_EXPORT IceRecheckEvent { IceRecheckEvent(IceSwitchReason _reason, int _recheck_delay_ms) : reason(_reason), recheck_delay_ms(_recheck_delay_ms) {} diff --git a/p2p/base/ice_switch_reason.h b/p2p/base/ice_switch_reason.h index 2c4fe31884..65f49d3d58 100644 --- a/p2p/base/ice_switch_reason.h +++ b/p2p/base/ice_switch_reason.h @@ -13,6 +13,8 @@ #include <string> +#include "rtc_base/system/rtc_export.h" + namespace cricket { enum class IceSwitchReason { @@ -31,7 +33,7 @@ enum class IceSwitchReason { ICE_CONTROLLER_RECHECK, }; -std::string IceSwitchReasonToString(IceSwitchReason reason); +RTC_EXPORT std::string IceSwitchReasonToString(IceSwitchReason reason); } // namespace cricket diff --git a/rtc_base/ip_address.h b/rtc_base/ip_address.h index 58ad8ba4b2..897e165565 100644 --- a/rtc_base/ip_address.h +++ b/rtc_base/ip_address.h @@ -174,7 +174,7 @@ bool IPIsSharedNetwork(const IPAddress& ip); // or an address belonging to a link-local, a private network or a shared // network. RTC_EXPORT bool IPIsPrivate(const IPAddress& ip); -bool IPIsUnspec(const IPAddress& ip); +RTC_EXPORT bool IPIsUnspec(const IPAddress& ip); size_t HashIP(const IPAddress& ip); // These are only really applicable for IPv6 addresses.