summaryrefslogtreecommitdiffstats
path: root/apphandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'apphandler.cpp')
-rw-r--r--apphandler.cpp14
1 files changed, 1 insertions, 13 deletions
diff --git a/apphandler.cpp b/apphandler.cpp
index bb7e192..e5daa2a 100644
--- a/apphandler.cpp
+++ b/apphandler.cpp
@@ -16,6 +16,7 @@
#include <algorithm>
#include <array>
#include <cstddef>
+#include <filesystem>
#include <fstream>
#include <ipmid/types.hpp>
#include <ipmid/utils.hpp>
@@ -33,19 +34,6 @@
#include <xyz/openbmc_project/Software/Version/server.hpp>
#include <xyz/openbmc_project/State/BMC/server.hpp>
-#if __has_include(<filesystem>)
-#include <filesystem>
-#elif __has_include(<experimental/filesystem>)
-#include <experimental/filesystem>
-namespace std
-{
-// splice experimental::filesystem into std
-namespace filesystem = std::experimental::filesystem;
-} // namespace std
-#else
-#error filesystem not available
-#endif
-
extern sd_bus* bus;
constexpr auto bmc_state_interface = "xyz.openbmc_project.State.BMC";
OpenPOWER on IntegriCloud