| 1 | Patch-Source: https://github.com/xbmc/xbmc/pull/27064
|
| 2 | ---
|
| 3 | From 216d14755dd9ae46f3f098ebcb0589209574d651 Mon Sep 17 00:00:00 2001
|
| 4 | From: Achill Gilgenast <[email protected]>
|
| 5 | Date: Fri, 8 Aug 2025 15:02:45 +0200
|
| 6 | Subject: [PATCH] [xbmc] Add missing include <stdint.h>
|
| 7 |
|
| 8 | Starting 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 |
|
| 15 | Signed-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 |
|
| 22 | diff --git a/xbmc/guilib/GUIListItem.h b/xbmc/guilib/GUIListItem.h
|
| 23 | index 429a31af3b..53668c58c7 100644
|
| 24 | |
| 25 | |
| 26 | @@ -15,6 +15,7 @@
|
| 27 |
|
| 28 | #include <map>
|
| 29 | #include <memory>
|
| 30 | +#include <stdint.h>
|
| 31 | #include <string>
|
| 32 |
|
| 33 | // Forward
|
| 34 | diff --git a/xbmc/guilib/GUIMessage.h b/xbmc/guilib/GUIMessage.h
|
| 35 | index 18e605c811..2f44374732 100644
|
| 36 | |
| 37 | |
| 38 | @@ -8,6 +8,8 @@
|
| 39 |
|
| 40 | #pragma once
|
| 41 |
|
| 42 | +#include <stdint.h>
|
| 43 | +
|
| 44 | /*!
|
| 45 | \file GUIMessage.h
|
| 46 | \brief
|
| 47 | diff --git a/xbmc/video/VideoUtils.h b/xbmc/video/VideoUtils.h
|
| 48 | index e6120284f1..f609430866 100644
|
| 49 | |
| 50 | |
| 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 | --
|
| 60 | 2.50.1
|
| 61 |
|