Merge "<string> is always available." into main
diff --git a/libutils/binder/include/utils/String8.h b/libutils/binder/include/utils/String8.h
index 11415a1..4a23df7 100644
--- a/libutils/binder/include/utils/String8.h
+++ b/libutils/binder/include/utils/String8.h
@@ -18,6 +18,7 @@
#define ANDROID_STRING8_H
#include <iostream>
+#include <string>
#include <utils/Errors.h>
#include <utils/Unicode.h>
@@ -26,11 +27,6 @@
#include <string.h> // for strcmp
#include <stdarg.h>
-#if __has_include(<string>)
-#include <string>
-#define HAS_STRING
-#endif
-
#if __has_include(<string_view>)
#include <string_view>
#define HAS_STRING_VIEW
@@ -390,7 +386,6 @@
// ---------------------------------------------------------------------------
-#undef HAS_STRING
#undef HAS_STRING_VIEW
#endif // ANDROID_STRING8_H