pldm: Use system include directives for libpldm
libpldm is no-longer a subproject, so let's stop treating it like it is
one by default.
Fixed with:
```
$ sed -Ei 's/#include "libpldm\/([^"]+).h"/#include <libpldm\/\1.h>/' $(git grep -lF '"libpldm/')
```
Change-Id: I9be54661dcee1bdf2575aece8ff250424b4b7b56
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
diff --git a/common/instance_id.hpp b/common/instance_id.hpp
index 5de0963..40de1f1 100644
--- a/common/instance_id.hpp
+++ b/common/instance_id.hpp
@@ -1,6 +1,6 @@
#pragma once
-#include "libpldm/instance-id.h"
+#include <libpldm/instance-id.h>
#include <cerrno>
#include <cstdint>
diff --git a/host-bmc/host_pdr_handler.cpp b/host-bmc/host_pdr_handler.cpp
index 306b79e..89a3983 100644
--- a/host-bmc/host_pdr_handler.cpp
+++ b/host-bmc/host_pdr_handler.cpp
@@ -1,8 +1,8 @@
#include "host_pdr_handler.hpp"
-#include "libpldm/fru.h"
+#include <libpldm/fru.h>
#ifdef OEM_IBM
-#include "libpldm/fru_oem_ibm.h"
+#include <libpldm/fru_oem_ibm.h>
#endif
#include "custom_dbus.hpp"
diff --git a/host-bmc/test/utils_test.cpp b/host-bmc/test/utils_test.cpp
index d686dc0..ab64aa1 100644
--- a/host-bmc/test/utils_test.cpp
+++ b/host-bmc/test/utils_test.cpp
@@ -1,7 +1,7 @@
-#include "libpldm/pdr.h"
-
#include "common/utils.hpp"
+#include <libpldm/pdr.h>
+
#include <filesystem>
#include <gtest/gtest.h>
diff --git a/libpldmresponder/pdr_utils.cpp b/libpldmresponder/pdr_utils.cpp
index 4a7d016..06f080d 100644
--- a/libpldmresponder/pdr_utils.cpp
+++ b/libpldmresponder/pdr_utils.cpp
@@ -1,7 +1,6 @@
-#include "libpldm/fru.h"
-
#include "pdr.hpp"
+#include <libpldm/fru.h>
#include <libpldm/platform.h>
#include <phosphor-logging/lg2.hpp>
diff --git a/meson.build b/meson.build
index 0576048..1336ba8 100644
--- a/meson.build
+++ b/meson.build
@@ -128,7 +128,7 @@
endif
endif
-libpldm_dep = dependency('libpldm', fallback:['libpldm','libpldm_dep'])
+libpldm_dep = dependency('libpldm', fallback:['libpldm','libpldm_dep'], include_type: 'system')
libpldmutils_headers = ['.']
diff --git a/oem/ibm/libpldmresponder/file_io_type_vpd.cpp b/oem/ibm/libpldmresponder/file_io_type_vpd.cpp
index e136214..65737db 100644
--- a/oem/ibm/libpldmresponder/file_io_type_vpd.cpp
+++ b/oem/ibm/libpldmresponder/file_io_type_vpd.cpp
@@ -1,10 +1,9 @@
#include "file_io_type_vpd.hpp"
-#include "libpldm/base.h"
-#include "libpldm/file_io.h"
-
#include "common/utils.hpp"
+#include <libpldm/base.h>
+#include <libpldm/file_io.h>
#include <stdint.h>
#include <phosphor-logging/lg2.hpp>