mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-01 15:07:49 +00:00
audiodecoder.timidity: fix build issue with gcc-13
This commit is contained in:
parent
2125c68aad
commit
b7e1d96e98
@ -0,0 +1,27 @@
|
|||||||
|
From 0d4d3fcf5c58dd16b3e9a7337189141b839e4ace Mon Sep 17 00:00:00 2001
|
||||||
|
From: Rudi Heitbaum <rudi@heitbaum.com>
|
||||||
|
Date: Sat, 15 Apr 2023 07:41:15 +1000
|
||||||
|
Subject: [PATCH] MidiScan: include missing <cstdint>
|
||||||
|
|
||||||
|
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>
|
||||||
|
---
|
||||||
|
src/MidiScan.h | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/src/MidiScan.h b/src/MidiScan.h
|
||||||
|
index 9c19bdf..ac959e0 100644
|
||||||
|
--- a/src/MidiScan.h
|
||||||
|
+++ b/src/MidiScan.h
|
||||||
|
@@ -8,6 +8,7 @@
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
+#include <cstdint>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user