lms: fix build errors with gcc13

Fixes errors like:

 | /build/poky/build/tmp/work/x86-64-v3-poky-linux/lms/2245.0.0.0-r0/git/MEIClient/Include/MEIparser.h:11:1: note: 'uint8_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
 |    10 | #include <vector>
 |   +++ |+#include <cstdint>

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
This commit is contained in:
Anuj Mittal 2023-05-29 15:03:42 +08:00
parent 2f54f3512d
commit 92ed65a34f
2 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,46 @@
Upstream-Status: Pending
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
diff --git a/MEIClient/AMTHIClient/Include/AmtAnsiString.h b/MEIClient/AMTHIClient/Include/AmtAnsiString.h
index 23114c9..deef61b 100644
--- a/MEIClient/AMTHIClient/Include/AmtAnsiString.h
+++ b/MEIClient/AMTHIClient/Include/AmtAnsiString.h
@@ -12,6 +12,7 @@
#include <string>
#include <vector>
+#include <cstdint>
namespace Intel
{
diff --git a/MEIClient/Include/MEIparser.h b/MEIClient/Include/MEIparser.h
index 0d47bb9..d4ffcd8 100644
--- a/MEIClient/Include/MEIparser.h
+++ b/MEIClient/Include/MEIparser.h
@@ -8,6 +8,7 @@
#include "MEIClientException.h"
#include <cstring>
#include <vector>
+#include <cstdint>
namespace Intel
{
diff --git a/UNS/GMS_COMMON/FuncEntryExit.h b/UNS/GMS_COMMON/FuncEntryExit.h
index 21862ab..7165906 100644
--- a/UNS/GMS_COMMON/FuncEntryExit.h
+++ b/UNS/GMS_COMMON/FuncEntryExit.h
@@ -5,6 +5,7 @@
#ifndef FUNCENTRYEXIT_H
#define FUNCENTRYEXIT_H
#include "GMSCommonDllExport.h"
+#include <cstdint>
GMS_COMMON_EXPORT void FlowLog(const wchar_t *name, const wchar_t *pref, const wchar_t *func);
GMS_COMMON_EXPORT void FuncEntry(const wchar_t *name, const wchar_t *func);
@@ -48,4 +49,4 @@ private:
const wchar_t * name_;
const wchar_t * func_;
};
-#endif // FUNCENTRYEXIT_H
\ No newline at end of file
+#endif // FUNCENTRYEXIT_H

View File

@ -30,6 +30,7 @@ S = "${WORKDIR}/git"
SYSTEMD_SERVICE:${PN} = "lms.service"
SRC_URI = "git://github.com/intel/lms.git;branch=master;protocol=https \
file://fix-gcc13.patch \
"
SRCREV = "4db4ceb3f70cd1b907747646dda6785db7b247d7"