diff --git a/src/google/protobuf/io/coded_stream_unittest.cc b/src/google/protobuf/io/coded_stream_unittest.cc index b39987ca2..0cfeb8837 100644 --- a/src/google/protobuf/io/coded_stream_unittest.cc +++ b/src/google/protobuf/io/coded_stream_unittest.cc @@ -144,10 +144,6 @@ uint8 CodedStreamTest::buffer_[CodedStreamTest::kBufferSize]; // checks. const int kBlockSizes[] = {1, 2, 3, 5, 7, 13, 32, 1024}; -// In several ReadCord test functions, we either clear the Cord before ReadCord -// calls or not. -const bool kResetCords[] = {false, true}; - // ------------------------------------------------------------------- // Varint tests. @@ -877,8 +873,6 @@ TEST_F(CodedStreamTest, const char kSkipTestBytes[] = ""; -const char kSkipOutputTestBytes[] = - "---------------------------------"; TEST_1D(CodedStreamTest, SkipInput, kBlockSizes) { memcpy(buffer_, kSkipTestBytes, sizeof(kSkipTestBytes)); diff --git a/src/google/protobuf/message.cc b/src/google/protobuf/message.cc index e838d30c3..2b9a2cb6f 100644 --- a/src/google/protobuf/message.cc +++ b/src/google/protobuf/message.cc @@ -32,6 +32,7 @@ // Based on original Protocol Buffers design by // Sanjay Ghemawat, Jeff Dean, and others. +#include #include #include