projects/aports·blob master · refs

61 lines · 1.5 KiB

1Patch-Source: https://github.com/xbmc/xbmc/pull/27064
2---
3From 216d14755dd9ae46f3f098ebcb0589209574d651 Mon Sep 17 00:00:00 2001
4From: Achill Gilgenast <[email protected]>
5Date: Fri, 8 Aug 2025 15:02:45 +0200
6Subject: [PATCH] [xbmc] Add missing include <stdint.h>
7
8Starting with gcc 15 it failed on musl libc with:
9
10 /home/buildozer/git/aports/community/kodi/src/xbmc-21.2-Omega/xbmc/guilib/GUIMessage.h:378:15: error: unknown type name 'int64_t'
11 378 | int64_t param1,
12 | ^
13 ...
14
15Signed-off-by: Achill Gilgenast <[email protected]>
16---
17 xbmc/guilib/GUIListItem.h | 1 +
18 xbmc/guilib/GUIMessage.h | 2 ++
19 xbmc/video/VideoUtils.h | 1 +
20 3 files changed, 4 insertions(+)
21
22diff --git a/xbmc/guilib/GUIListItem.h b/xbmc/guilib/GUIListItem.h
23index 429a31af3b..53668c58c7 100644
24--- a/xbmc/guilib/GUIListItem.h
25+++ b/xbmc/guilib/GUIListItem.h
26@@ -15,6 +15,7 @@
27
28 #include <map>
29 #include <memory>
30+#include <stdint.h>
31 #include <string>
32
33 // Forward
34diff --git a/xbmc/guilib/GUIMessage.h b/xbmc/guilib/GUIMessage.h
35index 18e605c811..2f44374732 100644
36--- a/xbmc/guilib/GUIMessage.h
37+++ b/xbmc/guilib/GUIMessage.h
38@@ -8,6 +8,8 @@
39
40 #pragma once
41
42+#include <stdint.h>
43+
44 /*!
45 \file GUIMessage.h
46 \brief
47diff --git a/xbmc/video/VideoUtils.h b/xbmc/video/VideoUtils.h
48index e6120284f1..f609430866 100644
49--- a/xbmc/video/VideoUtils.h
50+++ b/xbmc/video/VideoUtils.h
51@@ -11,6 +11,7 @@
52 #include "utils/ContentUtils.h"
53
54 #include <memory>
55+#include <stdint.h>
56
57 class CFileItem;
58 class CFileItemList;
59--
602.50.1
61