36 lines
867 B
Diff
36 lines
867 B
Diff
diff --git a/base/errors_unix.cpp b/base/errors_unix.cpp
|
|
index 296995e..48269b6 100644
|
|
--- a/base/errors_unix.cpp
|
|
+++ b/base/errors_unix.cpp
|
|
@@ -17,6 +17,7 @@
|
|
#include "android-base/errors.h"
|
|
|
|
#include <errno.h>
|
|
+#include <string.h>
|
|
|
|
namespace android {
|
|
namespace base {
|
|
diff --git a/base/file.cpp b/base/file.cpp
|
|
index 81b04d7..2fd2b6e 100644
|
|
--- a/base/file.cpp
|
|
+++ b/base/file.cpp
|
|
@@ -22,6 +22,7 @@
|
|
#include <sys/stat.h>
|
|
#include <sys/types.h>
|
|
#include <unistd.h>
|
|
+#include <string.h>
|
|
|
|
#include <memory>
|
|
#include <mutex>
|
|
diff --git a/base/logging.cpp b/base/logging.cpp
|
|
index 6357b4b..3c7dbce 100644
|
|
--- a/base/logging.cpp
|
|
+++ b/base/logging.cpp
|
|
@@ -23,6 +23,7 @@
|
|
#include <fcntl.h>
|
|
#include <libgen.h>
|
|
#include <time.h>
|
|
+#include <string.h>
|
|
|
|
// For getprogname(3) or program_invocation_short_name.
|
|
#if defined(__ANDROID__) || defined(__APPLE__)
|