Blame qtwebengine-SIOCGSTAMP.patch

a684f95
diff --git a/src/3rdparty/chromium/third_party/webrtc/rtc_base/physical_socket_server.cc b/src/3rdparty/chromium/third_party/webrtc/rtc_base/physical_socket_server.cc
def2052
index d421682..ffa75a7 100644
a684f95
--- a/src/3rdparty/chromium/third_party/webrtc/rtc_base/physical_socket_server.cc
a684f95
+++ b/src/3rdparty/chromium/third_party/webrtc/rtc_base/physical_socket_server.cc
def2052
@@ -77,6 +77,11 @@ typedef void* SockOptArg;
a684f95
 
a684f95
 #if defined(WEBRTC_POSIX) && !defined(WEBRTC_MAC) && !defined(__native_client__)
a684f95
 
a684f95
+// Seems that kernel 5.2.0 renames this define to SIOCGSTAMP_OLD
a684f95
+#ifndef SIOCGSTAMP
a684f95
+#define SIOCGSTAMP        0x8906          /* Get stamp (timeval) */
a684f95
+#endif
a684f95
+
a684f95
 int64_t GetSocketRecvTimestamp(int socket) {
a684f95
   struct timeval tv_ioctl;
a684f95
   int ret = ioctl(socket, SIOCGSTAMP, &tv_ioctl);