blob: 5cbe64091cb49ba14a0b71f3103d21ab43d7d530 [file] [log] [blame]
Patrick Williamsb9af8752023-01-30 13:28:01 -06001From 1da0cfbb9ae978822d961d8b22d8d5125c11247a Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 26 Jan 2023 23:46:56 -0800
4Subject: [PATCH] include missing <cstdint>
5
6gcc 13 moved some includes around and as a result <cstdint> is no
7longer transitively included [1]. Explicitly include it for
8uint8_t.
9
10[1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes
11
12Upstream-Status: Submitted [https://github.com/USBGuard/usbguard/pull/583]
13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14---
15 src/Library/Base64.cpp | 1 -
16 src/Library/Base64.hpp | 1 +
17 2 files changed, 1 insertion(+), 1 deletion(-)
18
19diff --git a/src/Library/Base64.cpp b/src/Library/Base64.cpp
20index ddb28dc..0246a13 100644
21--- a/src/Library/Base64.cpp
22+++ b/src/Library/Base64.cpp
23@@ -22,7 +22,6 @@
24
25 #include "Base64.hpp"
26 #include <stdexcept>
27-#include <cstdint>
28
29 namespace usbguard
30 {
31diff --git a/src/Library/Base64.hpp b/src/Library/Base64.hpp
32index 0947f21..e0c745c 100644
33--- a/src/Library/Base64.hpp
34+++ b/src/Library/Base64.hpp
35@@ -23,6 +23,7 @@
36 #endif
37
38 #include <string>
39+#include <cstdint>
40 #include <cstddef>
41
42 namespace usbguard
43--
442.39.1
45