Andrew Geissler | c5535c9 | 2023-01-27 16:10:19 -0600 | [diff] [blame] | 1 | From 1eb9bea38c320b2b588635cffceaaa2a8d434780 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Wed, 25 Jan 2023 22:09:26 -0800 |
| 4 | Subject: [PATCH] include missing <cstdint> |
| 5 | |
| 6 | gcc 13 moved some includes around and as a result <cstdint> is no longer transitively |
| 7 | included [1]. Explicitly include it for uint{32,64}_t. |
| 8 | |
| 9 | [1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes |
| 10 | |
| 11 | Upstream-Status: Submitted [https://github.com/graeme-hill/crossguid/pull/67] |
| 12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 13 | --- |
| 14 | include/crossguid/guid.hpp | 1 + |
| 15 | 1 file changed, 1 insertion(+) |
| 16 | |
| 17 | diff --git a/include/crossguid/guid.hpp b/include/crossguid/guid.hpp |
| 18 | index 61e0f17..70966f2 100644 |
| 19 | --- a/include/crossguid/guid.hpp |
| 20 | +++ b/include/crossguid/guid.hpp |
| 21 | @@ -29,6 +29,7 @@ THE SOFTWARE. |
| 22 | #include <jni.h> |
| 23 | #endif |
| 24 | |
| 25 | +#include <cstdint> |
| 26 | #include <functional> |
| 27 | #include <iostream> |
| 28 | #include <array> |
| 29 | -- |
| 30 | 2.39.1 |
| 31 | |