diff options
Diffstat (limited to 'init/service.h')
-rw-r--r-- | init/service.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/init/service.h b/init/service.h index 013e65f04..3dc0e53a2 100644 --- a/init/service.h +++ b/init/service.h @@ -25,6 +25,8 @@ #include <string> #include <vector> +#include <android-base/chrono_utils.h> + #include "action.h" #include "capabilities.h" #include "descriptors.h" @@ -135,8 +137,8 @@ private: unsigned flags_; pid_t pid_; - boot_clock::time_point time_started_; // time of last start - boot_clock::time_point time_crashed_; // first crash within inspection window + android::base::boot_clock::time_point time_started_; // time of last start + android::base::boot_clock::time_point time_crashed_; // first crash within inspection window int crash_count_; // number of times crashed within window uid_t uid_; |