blob: 4f0d8d85064e20db3e3b2e7414cbf8f62430a434 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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"
|