From 350e262433ca88f4c0873fcf0b2376444176b498 Mon Sep 17 00:00:00 2001 From: Per-Arne Andersen Date: Thu, 11 May 2023 03:58:48 +0200 Subject: [PATCH] Added support for GCC 13 (#2452) GCC Does not explicitly include stdint. This update includes them where needed. A very minor change that would allow GCC13 and above to compile correctly. In newer versions, cstdint is not implicitly included, hence it errors out during compilation for some files. --- src/Http/strCoding.h | 2 +- src/Record/HlsMaker.h | 1 + src/Rtmp/amf.h | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Http/strCoding.h b/src/Http/strCoding.h index 4be8328e..00177f74 100644 --- a/src/Http/strCoding.h +++ b/src/Http/strCoding.h @@ -13,7 +13,7 @@ #include #include - +#include namespace mediakit { class strCoding { diff --git a/src/Record/HlsMaker.h b/src/Record/HlsMaker.h index 57a5308a..be20ba1b 100644 --- a/src/Record/HlsMaker.h +++ b/src/Record/HlsMaker.h @@ -14,6 +14,7 @@ #include #include #include +#include namespace mediakit { diff --git a/src/Rtmp/amf.h b/src/Rtmp/amf.h index 283fbcc7..276315cf 100644 --- a/src/Rtmp/amf.h +++ b/src/Rtmp/amf.h @@ -16,6 +16,7 @@ #include #include #include +#include namespace toolkit { class BufferLikeString; }