Andrew Geissler | c5535c9 | 2023-01-27 16:10:19 -0600 | [diff] [blame^] | 1 | From 56e2cce87445d514c9992ecc19d03bb2115c82d6 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Wed, 25 Jan 2023 22:17:31 -0800 |
| 4 | Subject: [PATCH] Include missing <cstdint> |
| 5 | |
| 6 | gcc 13 moved some includes around and as a result <cstdint> is no longer transitively included [1]. Explicitly include it for uint{32,64}_t. |
| 7 | |
| 8 | [1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes |
| 9 | |
| 10 | Upstream-Status: Submitted [https://github.com/dbus-cxx/dbus-cxx/pull/111] |
| 11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 12 | --- |
| 13 | dbus-cxx/enums.h | 1 + |
| 14 | 1 file changed, 1 insertion(+) |
| 15 | |
| 16 | diff --git a/dbus-cxx/enums.h b/dbus-cxx/enums.h |
| 17 | index 8253a4b..c793fad 100644 |
| 18 | --- a/dbus-cxx/enums.h |
| 19 | +++ b/dbus-cxx/enums.h |
| 20 | @@ -5,6 +5,7 @@ |
| 21 | * * |
| 22 | * This file is part of the dbus-cxx library. * |
| 23 | ***************************************************************************/ |
| 24 | +#include <cstdint> |
| 25 | #include <ostream> |
| 26 | |
| 27 | #ifndef DBUSCXX_ENUMS_H |
| 28 | -- |
| 29 | 2.39.1 |
| 30 | |