1From 8fb9f5feaf738f69b278d2cac15baada1447aae8 Mon Sep 17 00:00:00 2001
2From: Sergei Trofimovich <slyich@gmail.com>
3Date: Mon, 28 Nov 2022 23:31:29 +0000
4Subject: [PATCH] add missing <stdint.h> to mfxparser.cpp
5
6Without the change build fails on `gcc-13` as:
7
8    MediaSDK/api/mfx_dispatch/linux/mfxparser.cpp: In function 'std::string MFX::printCodecId(mfxU32)':
9    MediaSDK/api/mfx_dispatch/linux/mfxparser.cpp:60:3: error: 'uint8_t' was not declared in this scope
10       60 |   uint8_t* data = reinterpret_cast<uint8_t*>(&id);
11          |   ^~~~~~~
12
13Upstream: https://github.com/Intel-Media-SDK/MediaSDK/pull/2998
14
15Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
16---
17 api/mfx_dispatch/linux/mfxparser.cpp | 1 +
18 1 file changed, 1 insertion(+)
19
20diff --git a/api/mfx_dispatch/linux/mfxparser.cpp b/api/mfx_dispatch/linux/mfxparser.cpp
21index 9d3823ec3e..12e46d1881 100644
22--- a/api/mfx_dispatch/linux/mfxparser.cpp
23+++ b/api/mfx_dispatch/linux/mfxparser.cpp
24@@ -20,6 +20,7 @@
25
26 #include <ctype.h>
27 #include <stdio.h>
28+#include <stdint.h>
29 #include <stdlib.h>
30 #include <string.h>
31
32