blob: 5cd94dee9c6af2849bbc3db06377bd5dfbf49805 [file] [log] [blame]
Patrick Williams169d7bc2024-01-05 11:33:25 -06001From 252aa78526287fe033c5656cd166e551fa5daa88 Mon Sep 17 00:00:00 2001
Patrick Williams864cc432023-02-09 14:54:44 -06002From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 30 Jan 2023 10:31:10 -0800
4Subject: [PATCH] Include missing <cstdint> header
5
6gcc 13 moved some includes around and as a result <cstdint> is
7no longer transitively included [1]. Explicitly include it for
8int32_t.
9
10[1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes
11
12Upstream-Status: Submitted [https://code-review.googlesource.com/c/re2/+/60970]
13Signed-off-by: Khem Raj <raj.khem@gmail.com>
Patrick Williams169d7bc2024-01-05 11:33:25 -060014
Patrick Williams864cc432023-02-09 14:54:44 -060015---
16 third_party/re2/util/pcre.h | 1 +
17 1 file changed, 1 insertion(+)
18
19diff --git a/third_party/re2/util/pcre.h b/third_party/re2/util/pcre.h
20index 896b0bd..271a005 100644
21--- a/third_party/re2/util/pcre.h
22+++ b/third_party/re2/util/pcre.h
23@@ -163,6 +163,7 @@
24
25 #include "util/util.h"
26 #include "re2/stringpiece.h"
27+#include <cstdint>
28
29 #ifdef USEPCRE
30 #include <pcre.h>