summaryrefslogtreecommitdiffstats
path: root/add-memory-for-std-unique_ptr-in-third_party-ip.patch
diff options
context:
space:
mode:
Diffstat (limited to 'add-memory-for-std-unique_ptr-in-third_party-ip.patch')
-rw-r--r--add-memory-for-std-unique_ptr-in-third_party-ip.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/add-memory-for-std-unique_ptr-in-third_party-ip.patch b/add-memory-for-std-unique_ptr-in-third_party-ip.patch
new file mode 100644
index 0000000..2d6005f
--- /dev/null
+++ b/add-memory-for-std-unique_ptr-in-third_party-ip.patch
@@ -0,0 +1,27 @@
+From 5a8dfcaf84b5af5aeb738702651e98bfc43d6d45 Mon Sep 17 00:00:00 2001
+From: Stephan Hartmann <stha09@googlemail.com>
+Date: Wed, 9 Aug 2023 15:36:26 +0000
+Subject: [PATCH] IWYU: add memory for std::unique_ptr in //third_party/ipcz
+
+Bug: 957519
+Change-Id: I600f415a59206da283046b638a4f68eda0892ac7
+Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4754274
+Commit-Queue: Stephan Hartmann <stha09@googlemail.com>
+Reviewed-by: Robert Sesek <rsesek@chromium.org>
+Cr-Commit-Position: refs/heads/main@{#1181503}
+---
+ third_party/ipcz/src/ipcz/router_link.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/third_party/ipcz/src/ipcz/router_link.h b/third_party/ipcz/src/ipcz/router_link.h
+index 09bc5626d99..619638cc7f1 100644
+--- a/third_party/ipcz/src/ipcz/router_link.h
++++ b/third_party/ipcz/src/ipcz/router_link.h
+@@ -7,6 +7,7 @@
+
+ #include <cstddef>
+ #include <functional>
++#include <memory>
+ #include <string>
+ #include <utility>
+