diff --git a/src/google/protobuf/json/internal/parser_traits.h b/src/google/protobuf/json/internal/parser_traits.h index 957354cbe4..cfe74a26cf 100644 --- a/src/google/protobuf/json/internal/parser_traits.h +++ b/src/google/protobuf/json/internal/parser_traits.h @@ -42,7 +42,6 @@ #include "google/protobuf/descriptor.h" #include "google/protobuf/dynamic_message.h" #include "google/protobuf/message.h" -#include "google/protobuf/wire_format_lite.h" #include "absl/base/attributes.h" #include "absl/base/casts.h" #include "absl/container/flat_hash_map.h" @@ -54,6 +53,7 @@ #include "google/protobuf/io/zero_copy_stream.h" #include "google/protobuf/io/zero_copy_stream_impl_lite.h" #include "google/protobuf/json/internal/descriptor_traits.h" +#include "google/protobuf/wire_format_lite.h" #include "google/protobuf/stubs/status_macros.h" // Must be included last. diff --git a/src/google/protobuf/json/internal/unparser_traits.h b/src/google/protobuf/json/internal/unparser_traits.h index 9e1f3efc9b..cab762ba33 100644 --- a/src/google/protobuf/json/internal/unparser_traits.h +++ b/src/google/protobuf/json/internal/unparser_traits.h @@ -45,8 +45,6 @@ #include "google/protobuf/descriptor.h" #include "google/protobuf/dynamic_message.h" #include "google/protobuf/message.h" -#include "google/protobuf/wire_format.h" -#include "google/protobuf/wire_format_lite.h" #include "absl/container/flat_hash_map.h" #include "absl/status/status.h" #include "absl/strings/escaping.h" @@ -57,6 +55,8 @@ #include "absl/types/variant.h" #include "google/protobuf/io/coded_stream.h" #include "google/protobuf/json/internal/descriptor_traits.h" +#include "google/protobuf/wire_format.h" +#include "google/protobuf/wire_format_lite.h" #include "google/protobuf/stubs/status_macros.h" // Must be included last. diff --git a/src/google/protobuf/json/internal/untyped_message.cc b/src/google/protobuf/json/internal/untyped_message.cc index 7341fb378a..a7d949d6db 100644 --- a/src/google/protobuf/json/internal/untyped_message.cc +++ b/src/google/protobuf/json/internal/untyped_message.cc @@ -44,8 +44,6 @@ #include "google/protobuf/descriptor.h" #include "google/protobuf/dynamic_message.h" #include "google/protobuf/message.h" -#include "google/protobuf/wire_format.h" -#include "google/protobuf/wire_format_lite.h" #include "absl/container/flat_hash_map.h" #include "absl/status/status.h" #include "absl/strings/str_cat.h" @@ -56,6 +54,8 @@ #include "absl/types/variant.h" #include "google/protobuf/io/coded_stream.h" #include "google/protobuf/util/type_resolver.h" +#include "google/protobuf/wire_format.h" +#include "google/protobuf/wire_format_lite.h" #include "utf8_validity.h" #include "google/protobuf/stubs/status_macros.h" diff --git a/src/google/protobuf/json/internal/untyped_message.h b/src/google/protobuf/json/internal/untyped_message.h index ba549c1a2c..6b2822edc2 100644 --- a/src/google/protobuf/json/internal/untyped_message.h +++ b/src/google/protobuf/json/internal/untyped_message.h @@ -42,8 +42,6 @@ #include "google/protobuf/descriptor.h" #include "google/protobuf/dynamic_message.h" #include "google/protobuf/message.h" -#include "google/protobuf/wire_format.h" -#include "google/protobuf/wire_format_lite.h" #include "absl/container/flat_hash_map.h" #include "absl/status/status.h" #include "absl/strings/str_format.h" @@ -53,6 +51,8 @@ #include "absl/types/variant.h" #include "google/protobuf/io/coded_stream.h" #include "google/protobuf/util/type_resolver.h" +#include "google/protobuf/wire_format.h" +#include "google/protobuf/wire_format_lite.h" #include "google/protobuf/stubs/status_macros.h" // Must be included last.