Andrew Geissler | c5535c9 | 2023-01-27 16:10:19 -0600 | [diff] [blame^] | 1 | From 225891675b80beaa9d74ce56809e52c4451df72c Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Wed, 25 Jan 2023 21:46:22 -0800 |
| 4 | Subject: [PATCH 1/2] include cstdint for uintXX_t types |
| 5 | |
| 6 | GCC-13 needs it [1] |
| 7 | |
| 8 | [1] https://www.gnu.org/software/gcc/gcc-13/porting_to.html |
| 9 | |
| 10 | Upstream-Status: Pending |
| 11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 12 | --- |
| 13 | src/imm/immnd/ImmModel.h | 1 + |
| 14 | src/osaf/consensus/consensus_env.h | 1 + |
| 15 | 2 files changed, 2 insertions(+) |
| 16 | |
| 17 | diff --git a/src/imm/immnd/ImmModel.h b/src/imm/immnd/ImmModel.h |
| 18 | index 44da470..0660431 100644 |
| 19 | --- a/src/imm/immnd/ImmModel.h |
| 20 | +++ b/src/imm/immnd/ImmModel.h |
| 21 | @@ -22,6 +22,7 @@ |
| 22 | #include <saImmOm.h> |
| 23 | #include <cstdarg> |
| 24 | #include <sys/types.h> |
| 25 | +#include <cstdint> |
| 26 | #include <string> |
| 27 | #include <vector> |
| 28 | #include <map> |
| 29 | diff --git a/src/osaf/consensus/consensus_env.h b/src/osaf/consensus/consensus_env.h |
| 30 | index df4f93a..89ccf46 100644 |
| 31 | --- a/src/osaf/consensus/consensus_env.h |
| 32 | +++ b/src/osaf/consensus/consensus_env.h |
| 33 | @@ -15,6 +15,7 @@ |
| 34 | #ifndef OSAF_CONSENSUS_CONSENSUS_ENV_H_ |
| 35 | #define OSAF_CONSENSUS_CONSENSUS_ENV_H_ |
| 36 | |
| 37 | +#include <cstdint> |
| 38 | #include <string> |
| 39 | #include "base/mutex.h" |
| 40 | |
| 41 | -- |
| 42 | 2.39.1 |
| 43 | |