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.
This commit is contained in:
Per-Arne Andersen 2023-05-11 03:58:48 +02:00 committed by GitHub
parent 7ef39d1b6f
commit 350e262433
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 1 deletions

View File

@ -13,7 +13,7 @@
#include <iostream> #include <iostream>
#include <string> #include <string>
#include <cstdint>
namespace mediakit { namespace mediakit {
class strCoding { class strCoding {

View File

@ -14,6 +14,7 @@
#include <string> #include <string>
#include <deque> #include <deque>
#include <tuple> #include <tuple>
#include <cstdint>
namespace mediakit { namespace mediakit {

View File

@ -16,6 +16,7 @@
#include <vector> #include <vector>
#include <map> #include <map>
#include <functional> #include <functional>
#include <cstdint>
namespace toolkit { namespace toolkit {
class BufferLikeString; class BufferLikeString;
} }