blob: 4f70bf532221e41b18583ade7c5da4468aa5ae44 [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001diff --git a/system/core/base/errors_unix.cpp b/system/core/base/errors_unix.cpp
2old mode 100644
3new mode 100755
4index 296995e..48269b6
5--- a/system/core/base/errors_unix.cpp
6+++ b/system/core/base/errors_unix.cpp
7@@ -17,6 +17,7 @@
8 #include "android-base/errors.h"
9
10 #include <errno.h>
11+#include <string.h>
12
13 namespace android {
14 namespace base {
15diff --git a/system/core/base/file.cpp b/system/core/base/file.cpp
16old mode 100644
17new mode 100755
18index da1adba..91a3901
19--- a/system/core/base/file.cpp
20+++ b/system/core/base/file.cpp
21@@ -20,6 +20,7 @@
22 #include <fcntl.h>
23 #include <sys/stat.h>
24 #include <sys/types.h>
25+#include <string.h>
26
27 #include <string>
28
29diff --git a/system/core/base/logging.cpp b/system/core/base/logging.cpp
30old mode 100644
31new mode 100755
32index 1741871..e5a98e3
33--- a/system/core/base/logging.cpp
34+++ b/system/core/base/logging.cpp
35@@ -18,6 +18,7 @@
36 #include <windows.h>
37 #endif
38
39+#include <string.h>
40 #include "android-base/logging.h"
41
42 #include <libgen.h>