diff --git a/system_wrappers/BUILD.gn b/system_wrappers/BUILD.gn index 913073902f..1ff2ddd4fd 100644 --- a/system_wrappers/BUILD.gn +++ b/system_wrappers/BUILD.gn @@ -37,6 +37,7 @@ rtc_library("system_wrappers") { "../rtc_base:checks", "../rtc_base/synchronization:rw_lock_wrapper", "../rtc_base/system:arch", + "../rtc_base/system:rtc_export", "//third_party/abseil-cpp/absl/types:optional", ] diff --git a/system_wrappers/include/clock.h b/system_wrappers/include/clock.h index 94c87463d8..8eac3d18b3 100644 --- a/system_wrappers/include/clock.h +++ b/system_wrappers/include/clock.h @@ -17,6 +17,7 @@ #include "api/units/timestamp.h" #include "rtc_base/synchronization/rw_lock_wrapper.h" +#include "rtc_base/system/rtc_export.h" #include "system_wrappers/include/ntp_time.h" namespace webrtc { @@ -28,7 +29,7 @@ const uint32_t kNtpJan1970 = 2208988800UL; const double kMagicNtpFractionalUnit = 4.294967296E+9; // A clock interface that allows reading of absolute and relative timestamps. -class Clock { +class RTC_EXPORT Clock { public: virtual ~Clock() {} // Return a timestamp relative to an unspecified epoch.