Patrick Williams | 864cc43 | 2023-02-09 14:54:44 -0600 | [diff] [blame^] | 1 | From 64f75806c04c2ee819cf2f92cb564ad316354823 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Sun, 29 Jan 2023 00:27:47 -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/eclipse/upm/pull/704] |
| 11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 12 | --- |
| 13 | src/mcp9808/mcp9808.hpp | 1 + |
| 14 | src/micsv89/micsv89.hpp | 1 + |
| 15 | 2 files changed, 2 insertions(+) |
| 16 | |
| 17 | diff --git a/src/mcp9808/mcp9808.hpp b/src/mcp9808/mcp9808.hpp |
| 18 | index b9e138d7..2509cd30 100644 |
| 19 | --- a/src/mcp9808/mcp9808.hpp |
| 20 | +++ b/src/mcp9808/mcp9808.hpp |
| 21 | @@ -13,6 +13,7 @@ |
| 22 | |
| 23 | #pragma once |
| 24 | |
| 25 | +#include <cstdint> |
| 26 | #include <iostream> |
| 27 | #include <string> |
| 28 | #include <interfaces/iTemperature.hpp> |
| 29 | diff --git a/src/micsv89/micsv89.hpp b/src/micsv89/micsv89.hpp |
| 30 | index 2f97dbce..c6e22ad8 100644 |
| 31 | --- a/src/micsv89/micsv89.hpp |
| 32 | +++ b/src/micsv89/micsv89.hpp |
| 33 | @@ -11,6 +11,7 @@ |
| 34 | |
| 35 | #pragma once |
| 36 | |
| 37 | +#include <cstdint> |
| 38 | #include <iostream> |
| 39 | #include <string> |
| 40 | |
| 41 | -- |
| 42 | 2.39.1 |
| 43 | |