48 lines
1.1 KiB
Diff
48 lines
1.1 KiB
Diff
diff --git a/adb/sysdeps/posix/network.cpp b/adb/sysdeps/posix/network.cpp
|
|
index ecd1fd24e..07fd8c98e 100644
|
|
--- a/adb/sysdeps/posix/network.cpp
|
|
+++ b/adb/sysdeps/posix/network.cpp
|
|
@@ -19,6 +19,7 @@
|
|
#include <errno.h>
|
|
#include <netinet/in.h>
|
|
#include <sys/socket.h>
|
|
+#include <string.h>
|
|
|
|
#include <string>
|
|
|
|
diff --git a/adb/types.h b/adb/types.h
|
|
index a3e5d4842..bac7181b4 100644
|
|
--- a/adb/types.h
|
|
+++ b/adb/types.h
|
|
@@ -22,6 +22,7 @@
|
|
#include <type_traits>
|
|
#include <utility>
|
|
#include <vector>
|
|
+#include <string.h>
|
|
|
|
#include <android-base/logging.h>
|
|
|
|
diff --git a/base/errors_unix.cpp b/base/errors_unix.cpp
|
|
index 296995efe..48269b675 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 d6fe753d1..3b10544dd 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>
|