commit | b3e1993ee55269694c345743191a67fbdc443e97 | [log] [tgz] |
---|---|---|
author | Hao Chen <chenhaosjtuacm@google.com> | Wed May 31 14:18:59 2023 -0700 |
committer | Hao Chen <chenhaosjtuacm@google.com> | Mon Jun 05 13:49:17 2023 -0700 |
tree | 452e1ccb205b162057d713005006fefb6e49b71a | |
parent | da739b2eeaa3ce12f7978e6d293b39545ebf1ce6 [diff] |
Add the Missing Header `stderror` is used in this file and it is defined in `string.h/cstring`, so the header file needs to be directly included. Test: build Bug: 285204695 Change-Id: Idf34126626ad0e9bb397df3d5da50439bf18381d
diff --git a/libutils/Errors.cpp b/libutils/Errors.cpp index 74f3bef..dfb4d9b 100644 --- a/libutils/Errors.cpp +++ b/libutils/Errors.cpp
@@ -15,6 +15,8 @@ */ #include <utils/Errors.h> +#include <string.h> + namespace android { std::string statusToString(status_t s) {