aboutsummaryrefslogtreecommitdiff
path: root/libs/libupm/patches/011-gcc-13-compatibility-fixes.patch
blob: feed25e95b74112ef518bbf4f303e649e90279de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- a/src/mcp9808/mcp9808.hpp
+++ b/src/mcp9808/mcp9808.hpp
@@ -30,6 +30,10 @@
 #include <string>
 #include <interfaces/iTemperature.hpp>
 
+#ifndef uint8_t
+#include <cstdint>
+#endif
+
 #define MCP9808_REG_CONFIG  0x01
 #define MCP9808_REG_AMBIENT_TEMP 0x05
 #define MCP9808_REG_MANUF_ID 0x06
--- a/src/micsv89/micsv89.hpp
+++ b/src/micsv89/micsv89.hpp
@@ -27,6 +27,10 @@
 #include <iostream>
 #include <string>
 
+#ifndef uint8_t
+#include <cstdint>
+#endif
+
 #include <interfaces/iGas.hpp>
 
 namespace mraa { class I2c;}