Skip to content

Commit

Permalink
Merge pull request #14042 from mkruskal-google/iwyu-fix
Browse files Browse the repository at this point in the history
Add dependency on absl::layout, and explicitly include absl layout includes
  • Loading branch information
mkruskal-google authored Sep 11, 2023
2 parents d3c44a4 + 96c1a7d commit 0d22de5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/google/protobuf/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions src/google/protobuf/arena.cc
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
#include <vector>

#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"
Expand Down

0 comments on commit 0d22de5

Please sign in to comment.