mirror of
https://github.com/dguglielmi/sunny-overlay.git
synced 2025-12-06 11:42:40 +01:00
103 lines
2.5 KiB
Diff
103 lines
2.5 KiB
Diff
From e387e618dd190159d2df06e378a2cdeb9c175ba4 Mon Sep 17 00:00:00 2001
|
|
From: Rudi Heitbaum <rudi@heitbaum.com>
|
|
Date: Wed, 26 Apr 2023 15:47:17 +0000
|
|
Subject: [PATCH] include missing <cstdint> to support gcc-13
|
|
|
|
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.
|
|
|
|
[1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes
|
|
|
|
Signed-off-by: Rudi Heitbaum <rudi@heitbaum.com>
|
|
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
|
|
Upstream: https://github.com/xbmc/inputstream.adaptive/commit/7b5c284e63c1d6327db7551a0646cffcbaf9410f
|
|
[Bernd: backported from Omega branch]
|
|
---
|
|
src/Iaes_decrypter.h | 3 ++-
|
|
src/SSD_dll.h | 1 +
|
|
src/utils/FileUtils.h | 1 +
|
|
src/utils/PropertiesUtils.h | 1 +
|
|
src/utils/StringUtils.h | 1 +
|
|
src/utils/Utils.h | 1 +
|
|
6 files changed, 7 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/src/Iaes_decrypter.h b/src/Iaes_decrypter.h
|
|
index 7fdf6046d..da992be95 100644
|
|
--- a/src/Iaes_decrypter.h
|
|
+++ b/src/Iaes_decrypter.h
|
|
@@ -10,6 +10,7 @@
|
|
|
|
#include <bento4/Ap4Types.h>
|
|
|
|
+#include <cstdint>
|
|
#include <string>
|
|
|
|
class IAESDecrypter
|
|
@@ -31,4 +32,4 @@ class IAESDecrypter
|
|
|
|
private:
|
|
std::string m_licenseKey;
|
|
-};
|
|
\ No newline at end of file
|
|
+};
|
|
diff --git a/src/SSD_dll.h b/src/SSD_dll.h
|
|
index 6298d09cd..1017fcfc2 100644
|
|
--- a/src/SSD_dll.h
|
|
+++ b/src/SSD_dll.h
|
|
@@ -8,6 +8,7 @@
|
|
|
|
#pragma once
|
|
|
|
+#include <cstdint>
|
|
#include <stdarg.h> // va_list, va_start, va_arg, va_end
|
|
#include <string_view>
|
|
|
|
diff --git a/src/utils/FileUtils.h b/src/utils/FileUtils.h
|
|
index 40745b0d4..0924d8ff7 100644
|
|
--- a/src/utils/FileUtils.h
|
|
+++ b/src/utils/FileUtils.h
|
|
@@ -8,6 +8,7 @@
|
|
|
|
#pragma once
|
|
|
|
+#include <cstdint>
|
|
#include <string>
|
|
#include <string_view>
|
|
|
|
diff --git a/src/utils/PropertiesUtils.h b/src/utils/PropertiesUtils.h
|
|
index b277f58ff..9dbea0fc9 100644
|
|
--- a/src/utils/PropertiesUtils.h
|
|
+++ b/src/utils/PropertiesUtils.h
|
|
@@ -8,6 +8,7 @@
|
|
|
|
#pragma once
|
|
|
|
+#include <cstdint>
|
|
#include <map>
|
|
#include <string>
|
|
#include <utility>
|
|
diff --git a/src/utils/StringUtils.h b/src/utils/StringUtils.h
|
|
index fbafccdc9..e6a6ce4c2 100644
|
|
--- a/src/utils/StringUtils.h
|
|
+++ b/src/utils/StringUtils.h
|
|
@@ -8,6 +8,7 @@
|
|
|
|
#pragma once
|
|
|
|
+#include <cstdint>
|
|
#include <string>
|
|
#include <string_view>
|
|
#include <vector>
|
|
diff --git a/src/utils/Utils.h b/src/utils/Utils.h
|
|
index e7ae209e8..c858b8c48 100644
|
|
--- a/src/utils/Utils.h
|
|
+++ b/src/utils/Utils.h
|
|
@@ -8,6 +8,7 @@
|
|
|
|
#pragma once
|
|
|
|
+#include <cstdint>
|
|
#include <map>
|
|
#include <string>
|
|
#include <string_view>
|