diff options
-rw-r--r-- | src/google/protobuf/io/coded_stream.h | 1 | ||||
-rw-r--r-- | src/google/protobuf/message_lite.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/google/protobuf/io/coded_stream.h b/src/google/protobuf/io/coded_stream.h index d2a3e279..dc42e2fe 100644 --- a/src/google/protobuf/io/coded_stream.h +++ b/src/google/protobuf/io/coded_stream.h @@ -110,6 +110,7 @@ #define GOOGLE_PROTOBUF_IO_CODED_STREAM_H__ #include <assert.h> +#include <climits> #include <string> #include <utility> #ifdef _MSC_VER diff --git a/src/google/protobuf/message_lite.h b/src/google/protobuf/message_lite.h index d5de8cdb..5e5ed306 100644 --- a/src/google/protobuf/message_lite.h +++ b/src/google/protobuf/message_lite.h @@ -39,6 +39,7 @@ #ifndef GOOGLE_PROTOBUF_MESSAGE_LITE_H__ #define GOOGLE_PROTOBUF_MESSAGE_LITE_H__ +#include <climits> #include <google/protobuf/stubs/common.h> #include <google/protobuf/stubs/logging.h> |