diff options
author | Patrick Venture <venture@google.com> | 2018-09-12 13:27:42 -0700 |
---|---|---|
committer | Patrick Venture <venture@google.com> | 2018-09-25 10:07:22 -0700 |
commit | 3a5071a9256ded54366494e161045db73b2d7a92 (patch) | |
tree | 82366dd682adb963c8d49fad55893b0050f51500 /chassishandler.cpp | |
parent | dde78e0301f7e4d2a0c7f63700530bbe96ced51c (diff) | |
download | phosphor-host-ipmid-3a5071a9256ded54366494e161045db73b2d7a92.tar.gz phosphor-host-ipmid-3a5071a9256ded54366494e161045db73b2d7a92.zip |
move filesystem inclusion to bottom of list
Change-Id: I4aa3c984992236bb5b4a5c62c3d42a33c12d55de
Signed-off-by: Patrick Venture <venture@google.com>
Diffstat (limited to 'chassishandler.cpp')
-rw-r--r-- | chassishandler.cpp | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/chassishandler.cpp b/chassishandler.cpp index 80f4402..b822212 100644 --- a/chassishandler.cpp +++ b/chassishandler.cpp @@ -4,6 +4,7 @@ #include "ipmid.hpp" #include "settings.hpp" +#include "timer.hpp" #include "types.hpp" #include "utils.hpp" @@ -18,7 +19,20 @@ #include <chrono> #include <fstream> #include <future> +#include <map> +#include <phosphor-logging/elog-errors.hpp> +#include <phosphor-logging/log.hpp> +#include <sdbusplus/bus.hpp> +#include <sdbusplus/server/object.hpp> #include <sstream> +#include <string> +#include <xyz/openbmc_project/Common/error.hpp> +#include <xyz/openbmc_project/Control/Boot/Mode/server.hpp> +#include <xyz/openbmc_project/Control/Boot/Source/server.hpp> +#include <xyz/openbmc_project/Control/Power/RestorePolicy/server.hpp> +#include <xyz/openbmc_project/State/Host/server.hpp> +#include <xyz/openbmc_project/State/PowerOnHours/server.hpp> + #if __has_include(<filesystem>) #include <filesystem> #elif __has_include(<experimental/filesystem>) @@ -32,21 +46,6 @@ namespace filesystem = std::experimental::filesystem; #error filesystem not available #endif -#include "timer.hpp" - -#include <map> -#include <phosphor-logging/elog-errors.hpp> -#include <phosphor-logging/log.hpp> -#include <sdbusplus/bus.hpp> -#include <sdbusplus/server/object.hpp> -#include <string> -#include <xyz/openbmc_project/Common/error.hpp> -#include <xyz/openbmc_project/Control/Boot/Mode/server.hpp> -#include <xyz/openbmc_project/Control/Boot/Source/server.hpp> -#include <xyz/openbmc_project/Control/Power/RestorePolicy/server.hpp> -#include <xyz/openbmc_project/State/Host/server.hpp> -#include <xyz/openbmc_project/State/PowerOnHours/server.hpp> - // Defines #define SET_PARM_VERSION 0x01 #define SET_PARM_BOOT_FLAGS_PERMANENT 0x40 // boot flags data1 7th bit on |