diff options
author | Yong Li <yong.b.li@linux.intel.com> | 2018-09-26 16:09:22 +0800 |
---|---|---|
committer | Yong Li <yong.b.li@linux.intel.com> | 2018-10-05 11:04:24 +0000 |
commit | 021f2d116a0a1aeee56afb7445b5381f5002b88a (patch) | |
tree | 604c90e3d501f2dfbdcf12ec830d7f4c8e9ef3a0 | |
parent | edb8bb069b5a5406dd06a6ef38251372ea988f5c (diff) | |
download | phosphor-host-ipmid-021f2d116a0a1aeee56afb7445b5381f5002b88a.tar.gz phosphor-host-ipmid-021f2d116a0a1aeee56afb7445b5381f5002b88a.zip |
Fix compile error with g++ 7.3
Get the below error message when compiling with g++ 7.3:
selutility.hpp:131:6: error: 'chrono' in namespace 'std' does not name a type
Change the include order to fix this issue
Change-Id: Ieaac302dd2e411a71736cbbe3f92431e30f3f5ea
Signed-off-by: Yong Li <yong.b.li@linux.intel.com>
-rw-r--r-- | selutility.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/selutility.hpp b/selutility.hpp index 5262d82..4e2855a 100644 --- a/selutility.hpp +++ b/selutility.hpp @@ -2,6 +2,7 @@ #include "types.hpp" +#include <chrono> #include <cstdint> #include <sdbusplus/server.hpp> |