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:
parent
85a9d91cd4
commit
6806550d5d
@ -51,6 +51,10 @@
|
|||||||
#include "rtc_base/null_socket_server.h"
|
#include "rtc_base/null_socket_server.h"
|
||||||
#include "rtc_base/time_utils.h"
|
#include "rtc_base/time_utils.h"
|
||||||
|
|
||||||
|
#if defined(WEBRTC_LINUX)
|
||||||
|
#include <linux/sockios.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(WEBRTC_WIN)
|
#if defined(WEBRTC_WIN)
|
||||||
#define LAST_SYSTEM_ERROR (::GetLastError())
|
#define LAST_SYSTEM_ERROR (::GetLastError())
|
||||||
#elif defined(__native_client__) && __native_client__
|
#elif defined(__native_client__) && __native_client__
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user