summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmbills <jasonm.bills@yahoo.com>2022-05-04 23:31:49 +0300
committerGitHub <noreply@github.com>2022-05-04 23:31:49 +0300
commit78fd799195824eb444a539bacc05ec4587205fd7 (patch)
tree199887a5e2b42abba4ea51fec4a3d23647fbf048
parented2aceab6ee059a40d939ea21364bc18ec80d94b (diff)
downloadvirtual-media-78fd799195824eb444a539bacc05ec4587205fd7.tar.xz
Include fstream (#7)
Missing the fstream include is causing build errors that block the upstream sync, so adding it to fix the build. Tested: Confirmed that it builds. Signed-off-by: Jason M. Bills <jason.m.bills@intel.com>
-rw-r--r--src/system.hpp1
-rw-r--r--src/utils.hpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/system.hpp b/src/system.hpp
index ea88e25..d0af549 100644
--- a/src/system.hpp
+++ b/src/system.hpp
@@ -8,6 +8,7 @@
#include <boost/container/flat_map.hpp>
#include <boost/process.hpp>
#include <filesystem>
+#include <fstream>
#include <sdbusplus/asio/object_server.hpp>
namespace fs = std::filesystem;
diff --git a/src/utils.hpp b/src/utils.hpp
index db9f325..1c03aa0 100644
--- a/src/utils.hpp
+++ b/src/utils.hpp
@@ -9,6 +9,7 @@
#include <boost/process/async_pipe.hpp>
#include <boost/type_traits/has_dereference.hpp>
#include <filesystem>
+#include <fstream>
#include <memory>
#include <optional>
#include <sdbusplus/asio/object_server.hpp>