diff --git a/src/google/protobuf/BUILD.bazel b/src/google/protobuf/BUILD.bazel index 9956816aab96..e7d24a9aef78 100644 --- a/src/google/protobuf/BUILD.bazel +++ b/src/google/protobuf/BUILD.bazel @@ -331,6 +331,7 @@ cc_library( ":arena_cleanup", ":string_block", "//src/google/protobuf/stubs:lite", + "@com_google_absl//absl/container:layout", "@com_google_absl//absl/log:absl_check", "@com_google_absl//absl/log:absl_log", "@com_google_absl//absl/synchronization", diff --git a/src/google/protobuf/arena.cc b/src/google/protobuf/arena.cc index ce9d7882a9b4..f2e97eddae1a 100644 --- a/src/google/protobuf/arena.cc +++ b/src/google/protobuf/arena.cc @@ -40,6 +40,7 @@ #include #include "absl/base/attributes.h" +#include "absl/container/internal/layout.h" #include "absl/synchronization/mutex.h" #include "google/protobuf/arena_allocation_policy.h" #include "google/protobuf/arenaz_sampler.h"