Fix build with recent linux kernel.

Recent kernel commit[1] moved a bit the define for this constant. This revealed
a missing include in WebRTC.

[1]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0768e17073dc5

Bug: webrtc:10677
Change-Id: I6ed69d307599d077760ae6ad74be10bfbdd1cac6
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/138270
Commit-Queue: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#28108}
This commit is contained in:
Emilio Cobos Álvarez 2019-05-29 15:30:32 +02:00 committed by Commit Bot
parent 85a9d91cd4
commit 6806550d5d

View File

@ -51,6 +51,10 @@
#include "rtc_base/null_socket_server.h"
#include "rtc_base/time_utils.h"
#if defined(WEBRTC_LINUX)
#include <linux/sockios.h>
#endif
#if defined(WEBRTC_WIN)
#define LAST_SYSTEM_ERROR (::GetLastError())
#elif defined(__native_client__) && __native_client__