summaryrefslogtreecommitdiff
path: root/use-of-undeclared-identifier-memset.patch
diff options
context:
space:
mode:
Diffstat (limited to 'use-of-undeclared-identifier-memset.patch')
-rw-r--r--use-of-undeclared-identifier-memset.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/use-of-undeclared-identifier-memset.patch b/use-of-undeclared-identifier-memset.patch
new file mode 100644
index 0000000..4f0d8d8
--- /dev/null
+++ b/use-of-undeclared-identifier-memset.patch
@@ -0,0 +1,31 @@
+From daa9f2af75e031f917c26446b6015eb96328c670 Mon Sep 17 00:00:00 2001
+From: Jose Dapena Paz <jdapena@igalia.com>
+Date: Fri, 26 Jul 2024 07:47:50 +0000
+Subject: [PATCH] IWYU: missing include for usage of memset in rust
+ remap_alloc.cc
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Bug: 41455655
+Change-Id: I99b630d4801ba0695ea2aea924a1ae903670ba5c
+Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5735253
+Reviewed-by: Collin Baker <collinbaker@chromium.org>
+Commit-Queue: José Dapena Paz <jdapena@igalia.com>
+Cr-Commit-Position: refs/heads/main@{#1333406}
+---
+ build/rust/std/remap_alloc.cc | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/build/rust/std/remap_alloc.cc b/build/rust/std/remap_alloc.cc
+index 0a87be2479ed22..eca8fa14863c59 100644
+--- a/build/rust/std/remap_alloc.cc
++++ b/build/rust/std/remap_alloc.cc
+@@ -3,6 +3,7 @@
+ // found in the LICENSE file.
+
+ #include <cstddef>
++#include <cstring>
+
+ #include "build/build_config.h"
+ #include "build/rust/std/alias.h"