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:
Emilio Cobos Álvarez 2019-05-28 13:02:22 +00:00
Родитель 09454f678d
Коммит 3c96684a0f
1 изменённых файлов: 3 добавлений и 0 удалений

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

@ -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;