Update common/webrtc/webrtc-rwlock_null.patch

Move rw_lock_wrapper.h to rtc_base/synchronization/
https://webrtc-review.googlesource.com/21328
This commit is contained in:
Aleksei Kuzmin 2018-07-19 19:19:16 +02:00
Родитель eda7d236fa
Коммит 48ae74cd61
1 изменённых файлов: 9 добавлений и 10 удалений

Просмотреть файл

@ -1,18 +1,17 @@
diff --git a/system_wrappers/source/rw_lock.cc b/system_wrappers/source/rw_lock.cc
index c38c44ad75..5ed1912d3f 100644
--- a/system_wrappers/source/rw_lock.cc
+++ b/system_wrappers/source/rw_lock.cc
@@ -9,8 +9,10 @@
*/
#include "system_wrappers/include/rw_lock_wrapper.h"
+#include "system_wrappers/include/sleep.h"
diff --git a/rtc_base/synchronization/rw_lock_wrapper.cc b/rtc_base/synchronization/rw_lock_wrapper.cc
index c8cd17edb8..50c6e25ad9 100644
--- a/rtc_base/synchronization/rw_lock_wrapper.cc
+++ b/rtc_base/synchronization/rw_lock_wrapper.cc
@@ -11,6 +11,9 @@
#include "rtc_base/synchronization/rw_lock_wrapper.h"
#include <assert.h>
+#include <stdlib.h>
+
+#include "system_wrappers/include/sleep.h"
#if defined(_WIN32)
#include "system_wrappers/source/rw_lock_win.h"
#include "rtc_base/synchronization/rw_lock_win.h"
@@ -21,11 +23,19 @@
namespace webrtc {