You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
776 B
16 lines
776 B
diff --git a/src/3rdparty/chromium/third_party/webrtc/rtc_base/physicalsocketserver.cc b/src/3rdparty/chromium/third_party/webrtc/rtc_base/physicalsocketserver.cc |
|
index ca7849917..31c5f7697 100644 |
|
--- a/src/3rdparty/chromium/third_party/webrtc/rtc_base/physicalsocketserver.cc |
|
+++ b/src/3rdparty/chromium/third_party/webrtc/rtc_base/physicalsocketserver.cc |
|
@@ -69,6 +69,11 @@ typedef void* SockOptArg; |
|
|
|
#if defined(WEBRTC_POSIX) && !defined(WEBRTC_MAC) && !defined(__native_client__) |
|
|
|
+// Seems that kernel 5.2.0 renames this define to SIOCGSTAMP_OLD |
|
+#ifndef SIOCGSTAMP |
|
+#define SIOCGSTAMP 0x8906 /* Get stamp (timeval) */ |
|
+#endif |
|
+ |
|
int64_t GetSocketRecvTimestamp(int socket) { |
|
struct timeval tv_ioctl; |
|
int ret = ioctl(socket, SIOCGSTAMP, &tv_ioctl);
|
|
|