aboutsummaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-grpcio/0001-Include-missing-cstdint-header.patch
blob: 5cd94dee9c6af2849bbc3db06377bd5dfbf49805 (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
From 252aa78526287fe033c5656cd166e551fa5daa88 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Mon, 30 Jan 2023 10:31:10 -0800
Subject: [PATCH] Include missing <cstdint> header

gcc 13 moved some includes around and as a result <cstdint> is
no longer transitively included [1]. Explicitly include it for
int32_t.

[1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes

Upstream-Status: Submitted [https://code-review.googlesource.com/c/re2/+/60970]
Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 third_party/re2/util/pcre.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/third_party/re2/util/pcre.h b/third_party/re2/util/pcre.h
index 896b0bd..271a005 100644
--- a/third_party/re2/util/pcre.h
+++ b/third_party/re2/util/pcre.h
@@ -163,6 +163,7 @@
 
 #include "util/util.h"
 #include "re2/stringpiece.h"
+#include <cstdint>
 
 #ifdef USEPCRE
 #include <pcre.h>