Fixed compilation error
Fixed the compilation error caused due to libpldm changes.
Change-Id: I63c6a015ac626114cfbe15681facbfbf14c2abf4
Signed-off-by: ArchanaKakani <archana.kakani@ibm.com>
diff --git a/libpldmresponder/bios_table.cpp b/libpldmresponder/bios_table.cpp
index d9da84b..3789e97 100644
--- a/libpldmresponder/bios_table.cpp
+++ b/libpldmresponder/bios_table.cpp
@@ -1,18 +1,17 @@
#include "bios_table.hpp"
+#include "libpldm/base.h"
#include "libpldm/bios_table.h"
+#include "libpldm/utils.h"
#include <fstream>
namespace pldm
{
-
namespace responder
{
-
namespace bios
{
-
BIOSTable::BIOSTable(const char* filePath) : filePath(filePath)
{}
@@ -79,7 +78,6 @@
namespace table
{
-
void appendPadAndChecksum(Table& table)
{
auto sizeWithoutPad = table.size();
@@ -92,7 +90,6 @@
namespace string
{
-
uint16_t decodeHandle(const pldm_bios_string_table_entry* entry)
{
return pldm_bios_table_string_entry_decode_handle(entry);
@@ -122,7 +119,6 @@
namespace attribute
{
-
TableHeader decodeHeader(const pldm_bios_attr_table_entry* entry)
{
auto attrHandle = pldm_bios_table_attr_entry_decode_attribute_handle(entry);
@@ -229,7 +225,6 @@
namespace attribute_value
{
-
TableHeader decodeHeader(const pldm_bios_attr_val_table_entry* entry)
{
auto handle =