aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qtwebengine/chromium/0013-chromium-Add-missing-include-for-C-strncpy.patch
blob: 10e924c01b55b8ab1f7b5825aa7cf85c6948e282 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From 5b64a08023887bd4664996175120312e07287f1b Mon Sep 17 00:00:00 2001
From: Jani Suonpera <jani.suonpera@qt.io>
Date: Thu, 4 Feb 2021 14:30:44 +0200
Subject: [PATCH] Add missing include for C strncpy

Task-number:QTBUG-90623
---
 .../mojo/public/cpp/platform/named_platform_channel_posix.cc     | 1 +
 1 file changed, 1 insertion(+)

diff --git a/chromium/mojo/public/cpp/platform/named_platform_channel_posix.cc b/chromium/mojo/public/cpp/platform/named_platform_channel_posix.cc
index 9082ac4da59..24b21771d89 100644
--- a/chromium/mojo/public/cpp/platform/named_platform_channel_posix.cc
+++ b/chromium/mojo/public/cpp/platform/named_platform_channel_posix.cc
@@ -8,6 +8,7 @@
 #include <sys/socket.h>
 #include <sys/un.h>
 #include <unistd.h>
+#include <cstring> // strncpy
 
 #include "base/files/file_util.h"
 #include "base/files/scoped_file.h"