Fix outdated boost header include
This commit fixes the header include paths from boost library which are
no longer valid.
Change-Id: I2adf06d46f3f597c16e013e54eaedcd2cb0ad42f
Signed-off-by: Chau Ly <chaul@amperecomputing.com>
diff --git a/src/firmware-update.cpp b/src/firmware-update.cpp
index 8bc2fdc..5b47bd2 100644
--- a/src/firmware-update.cpp
+++ b/src/firmware-update.cpp
@@ -10,7 +10,7 @@
#include <appcommands.hpp>
#include <boost/algorithm/string.hpp>
#include <boost/container/flat_map.hpp>
-#include <boost/process/child.hpp>
+#include <boost/process/v1/child.hpp>
#include <boost/uuid/random_generator.hpp>
#include <boost/uuid/uuid_io.hpp>
#include <commandutils.hpp>
@@ -712,7 +712,7 @@
template <typename... ArgTypes>
static int executeCmd(const char* path, ArgTypes&&... tArgs)
{
- boost::process::child execProg(path, const_cast<char*>(tArgs)...);
+ boost::process::v1::child execProg(path, const_cast<char*>(tArgs)...);
execProg.wait();
return execProg.exit_code();
}