зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1554949 - Fix WebRTC build failure with newer linux kernel. r=dminor
Recent kernel commit[1] moved a bit the define for this constant. This revealed a missing include in WebRTC. I filed this upstream in: * https://bugs.chromium.org/p/webrtc/issues/detail?id=10677 And sent a patch in: * https://webrtc-review.googlesource.com/c/src/+/138270 [1]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0768e17073dc5 Differential Revision: https://phabricator.services.mozilla.com/D32809 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
09454f678d
Коммит
3c96684a0f
|
@ -61,6 +61,9 @@ typedef void* SockOptArg;
|
|||
#endif // WEBRTC_POSIX
|
||||
|
||||
#if defined(WEBRTC_POSIX) && !defined(WEBRTC_MAC) && !defined(WEBRTC_BSD) && !defined(__native_client__)
|
||||
#if defined(WEBRTC_LINUX)
|
||||
#include <linux/sockios.h>
|
||||
#endif
|
||||
|
||||
int64_t GetSocketRecvTimestamp(int socket) {
|
||||
struct timeval tv_ioctl;
|
||||
|
|
Загрузка…
Ссылка в новой задаче