diff options
Diffstat (limited to 'storagehandler.cpp')
-rw-r--r-- | storagehandler.cpp | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/storagehandler.cpp b/storagehandler.cpp index 32bb088..55e17f2 100644 --- a/storagehandler.cpp +++ b/storagehandler.cpp @@ -15,6 +15,7 @@ #include <chrono> #include <cstdio> #include <cstring> +#include <filesystem> #include <ipmid/utils.hpp> #include <phosphor-logging/elog-errors.hpp> #include <phosphor-logging/log.hpp> @@ -23,19 +24,6 @@ #include <string> #include <xyz/openbmc_project/Common/error.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 - void register_netfn_storage_functions() __attribute__((constructor)); unsigned int g_sel_time = 0xFFFFFFFF; |