Add missing Abseil logging includes and dependencies to protobuf compiler plugin.
PiperOrigin-RevId: 805437419
diff --git a/src/google/protobuf/compiler/BUILD.bazel b/src/google/protobuf/compiler/BUILD.bazel
index c5b6daa..48f9e87 100644
--- a/src/google/protobuf/compiler/BUILD.bazel
+++ b/src/google/protobuf/compiler/BUILD.bazel
@@ -106,9 +106,11 @@
"//src/google/protobuf/compiler:retention",
"//src/google/protobuf/io",
"//src/google/protobuf/io:io_win32",
+ "@abseil-cpp//absl/base:log_severity",
"@abseil-cpp//absl/container:flat_hash_map",
"@abseil-cpp//absl/log:absl_check",
"@abseil-cpp//absl/log:absl_log",
+ "@abseil-cpp//absl/log:globals",
"@abseil-cpp//absl/memory",
"@abseil-cpp//absl/status",
"@abseil-cpp//absl/status:statusor",
diff --git a/src/google/protobuf/compiler/plugin.cc b/src/google/protobuf/compiler/plugin.cc
index 43a2853..9949a35 100644
--- a/src/google/protobuf/compiler/plugin.cc
+++ b/src/google/protobuf/compiler/plugin.cc
@@ -20,7 +20,9 @@
#include <unistd.h>
#endif
+#include "absl/base/log_severity.h"
#include "absl/log/absl_check.h"
+#include "absl/log/globals.h"
#include "absl/status/status.h"
#include "absl/status/statusor.h"
#include "absl/strings/str_cat.h"