Fix MacOS build

This commit is contained in:
Théo Monnom
2022-09-20 22:19:47 +02:00
parent 2242008b93
commit baf1db9a04
2 changed files with 3 additions and 1 deletions
@@ -22,7 +22,9 @@ namespace livekit {
RTCRuntime(const RTCRuntime&) = delete; RTCRuntime(const RTCRuntime&) = delete;
RTCRuntime& operator=(const RTCRuntime&) = delete; RTCRuntime& operator=(const RTCRuntime&) = delete;
private: private:
#ifdef WEBRTC_WIN
rtc::WinsockInitializer winsock_; rtc::WinsockInitializer winsock_;
#endif
}; };
std::unique_ptr<RTCRuntime> create_rtc_runtime(); std::unique_ptr<RTCRuntime> create_rtc_runtime();
@@ -7,7 +7,7 @@
#include "livekit/rtc_error.h" #include "livekit/rtc_error.h"
#include "livekit/jsep.h" #include "livekit/jsep.h"
#include "libwebrtc-sys/src/jsep.rs.h" #include "libwebrtc-sys/src/jsep.rs.h"
#include "api/make_ref_counted.h" #include "rtc_base/ref_counted_object.h"
namespace livekit { namespace livekit {