]>
Commit | Line | Data |
---|---|---|
75d76607 JP |
1 | From c2792e58035fcbaa16d0cb70998852fbeb5df4cc Mon Sep 17 00:00:00 2001 |
2 | From: WANG Xuerui <git@xen0n.name> | |
3 | Date: Fri, 07 Oct 2022 00:23:49 +0800 | |
4 | Subject: [PATCH] [base] Fix build with gcc-13 | |
5 | ||
6 | See https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes. | |
7 | ||
8 | Also see Gentoo Linux bug report: https://bugs.gentoo.org/865981 | |
9 | ||
10 | Change-Id: I421f396b02ba37e12ee70048ee33e034f8113566 | |
11 | Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3934140 | |
12 | Reviewed-by: Clemens Backes <clemensb@chromium.org> | |
13 | Reviewed-by: Simon Zünd <szuend@chromium.org> | |
14 | Commit-Queue: Clemens Backes <clemensb@chromium.org> | |
15 | Cr-Commit-Position: refs/heads/main@{#83587} | |
16 | --- | |
17 | ||
18 | diff --git a/src/base/logging.h b/src/base/logging.h | |
19 | index 08db24a..38be165 100644 | |
20 | --- a/src/base/logging.h | |
21 | +++ b/src/base/logging.h | |
22 | @@ -5,6 +5,7 @@ | |
23 | #ifndef V8_BASE_LOGGING_H_ | |
24 | #define V8_BASE_LOGGING_H_ | |
25 | ||
26 | +#include <cstdint> | |
27 | #include <cstring> | |
28 | #include <sstream> | |
29 | #include <string> | |
30 | diff --git a/src/inspector/v8-string-conversions.h b/src/inspector/v8-string-conversions.h | |
31 | index c1d69c1..eb33c68 100644 | |
32 | --- a/src/inspector/v8-string-conversions.h | |
33 | +++ b/src/inspector/v8-string-conversions.h | |
34 | @@ -5,6 +5,7 @@ | |
35 | #ifndef V8_INSPECTOR_V8_STRING_CONVERSIONS_H_ | |
36 | #define V8_INSPECTOR_V8_STRING_CONVERSIONS_H_ | |
37 | ||
38 | +#include <cstdint> | |
39 | #include <string> | |
40 | ||
41 | // Conversion routines between UT8 and UTF16, used by string-16.{h,cc}. You may |