archrelease: copy trunk to extra-x86_64
[arch-packages.git] / chromium / trunk / iwyu-add-stdint.h-for-various-int-types-in-base.patch
blob3c3e0d7f862b7b52e6592fe36078ceef3540d770
1 From afbe6c6ee713519263305d7e2d91cc9f1379afe2 Mon Sep 17 00:00:00 2001
2 From: Stephan Hartmann <stha09@googlemail.com>
3 Date: Mon, 3 Apr 2023 20:41:40 +0000
4 Subject: [PATCH] IWYU: add stdint.h for various int types in //base
6 Bug: 957519
7 Change-Id: I750de80f0d27d93ef3383052ddb4eefd5ee13abe
8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4394430
9 Reviewed-by: Daniel Cheng <dcheng@chromium.org>
10 Commit-Queue: Stephan Hartmann <stha09@googlemail.com>
11 Cr-Commit-Position: refs/heads/main@{#1125558}
12 ---
13 base/debug/profiler.h | 1 +
14 base/strings/string_piece.h | 1 +
15 2 files changed, 2 insertions(+)
17 diff --git a/base/debug/profiler.h b/base/debug/profiler.h
18 index 5f0deadd5d3..035affc7c4d 100644
19 --- a/base/debug/profiler.h
20 +++ b/base/debug/profiler.h
21 @@ -6,6 +6,7 @@
22 #define BASE_DEBUG_PROFILER_H_
24 #include <stddef.h>
25 +#include <stdint.h>
27 #include <string>
29 diff --git a/base/strings/string_piece.h b/base/strings/string_piece.h
30 index 899b654cbe8..9dde6ec29bb 100644
31 --- a/base/strings/string_piece.h
32 +++ b/base/strings/string_piece.h
33 @@ -22,6 +22,7 @@
34 #define BASE_STRINGS_STRING_PIECE_H_
36 #include <stddef.h>
37 +#include <stdint.h>
39 #include <algorithm>
40 #include <iosfwd>