Patrick Williams | 864cc43 | 2023-02-09 14:54:44 -0600 | [diff] [blame^] | 1 | From 84e884f99e581515b49d8973538bb17e1e6c0dc0 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Thu, 26 Jan 2023 20:45:57 -0800 |
| 4 | Subject: [PATCH] include missing <cstdint> |
| 5 | |
| 6 | gcc 13 moved some includes around and as a result <cstdint> is no |
| 7 | longer transitively included [1]. Explicitly include it for |
| 8 | uint{32,64}_t. |
| 9 | |
| 10 | [1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes |
| 11 | |
| 12 | Upstream-Status: Submitted [https://github.com/tomba/rwmem/pull/7] |
| 13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 14 | --- |
| 15 | librwmem/helpers.h | 1 + |
| 16 | 1 file changed, 1 insertion(+) |
| 17 | |
| 18 | diff --git a/librwmem/helpers.h b/librwmem/helpers.h |
| 19 | index a0a738b..8d02c9c 100644 |
| 20 | --- a/librwmem/helpers.h |
| 21 | +++ b/librwmem/helpers.h |
| 22 | @@ -1,6 +1,7 @@ |
| 23 | #pragma once |
| 24 | |
| 25 | #include <cerrno> |
| 26 | +#include <cstdint> |
| 27 | #include <string> |
| 28 | #include <vector> |
| 29 | #include <string.h> |
| 30 | -- |
| 31 | 2.39.1 |
| 32 | |