libpldm: Correct reference to libpldm header files
When relying on header files from external libraries, #include<> should
be used instead of #include "" to avoid ambiguity.
Tested: Built pldm successfully after enabling ibm-oem
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: Ia1997de7e0f61564055bbd837f4e24c8f14e55a5
diff --git a/host-bmc/dbus_to_event_handler.cpp b/host-bmc/dbus_to_event_handler.cpp
index 5501e56..fc9fafc 100644
--- a/host-bmc/dbus_to_event_handler.cpp
+++ b/host-bmc/dbus_to_event_handler.cpp
@@ -1,9 +1,9 @@
#include "dbus_to_event_handler.hpp"
-#include "libpldm/pldm.h"
-
#include "libpldmresponder/pdr.hpp"
+#include <libpldm/pldm.h>
+
namespace pldm
{
diff --git a/host-bmc/dbus_to_event_handler.hpp b/host-bmc/dbus_to_event_handler.hpp
index 83cb792..886d6b5 100644
--- a/host-bmc/dbus_to_event_handler.hpp
+++ b/host-bmc/dbus_to_event_handler.hpp
@@ -1,11 +1,11 @@
#pragma once
-#include "libpldm/platform.h"
-
#include "libpldmresponder/pdr_utils.hpp"
#include "pldmd/dbus_impl_requester.hpp"
#include "requester/handler.hpp"
+#include <libpldm/platform.h>
+
#include <map>
namespace pldm
diff --git a/host-bmc/dbus_to_host_effecters.cpp b/host-bmc/dbus_to_host_effecters.cpp
index 299abd3..a90a3bd 100644
--- a/host-bmc/dbus_to_host_effecters.cpp
+++ b/host-bmc/dbus_to_host_effecters.cpp
@@ -1,8 +1,8 @@
#include "dbus_to_host_effecters.hpp"
-#include "libpldm/pdr.h"
-#include "libpldm/platform.h"
-#include "libpldm/pldm.h"
+#include <libpldm/pdr.h>
+#include <libpldm/platform.h>
+#include <libpldm/pldm.h>
#include <xyz/openbmc_project/Common/error.hpp>
#include <xyz/openbmc_project/State/OperatingSystem/Status/server.hpp>
diff --git a/host-bmc/host_pdr_handler.cpp b/host-bmc/host_pdr_handler.cpp
index f201965..922e9db 100644
--- a/host-bmc/host_pdr_handler.cpp
+++ b/host-bmc/host_pdr_handler.cpp
@@ -2,9 +2,8 @@
#include "host_pdr_handler.hpp"
-#include "libpldm/pldm.h"
-
#include <assert.h>
+#include <libpldm/pldm.h>
#include <nlohmann/json.hpp>
#include <sdeventplus/clock.hpp>
diff --git a/host-bmc/host_pdr_handler.hpp b/host-bmc/host_pdr_handler.hpp
index 6d33f5a..64f2442 100644
--- a/host-bmc/host_pdr_handler.hpp
+++ b/host-bmc/host_pdr_handler.hpp
@@ -1,8 +1,5 @@
#pragma once
-#include "libpldm/base.h"
-#include "libpldm/platform.h"
-
#include "common/types.hpp"
#include "common/utils.hpp"
#include "libpldmresponder/event_parser.hpp"
@@ -10,6 +7,9 @@
#include "pldmd/dbus_impl_requester.hpp"
#include "requester/handler.hpp"
+#include <libpldm/base.h>
+#include <libpldm/platform.h>
+
#include <sdeventplus/event.hpp>
#include <sdeventplus/source/event.hpp>