Browse Source

Merge pull request #2955 from xfxyjwf/3.3.x

Add include for INT_MAX
Feng Xiao 8 years ago
parent
commit
fc3ea97870
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/google/protobuf/generated_message_util.h

+ 1 - 0
src/google/protobuf/generated_message_util.h

@@ -39,6 +39,7 @@
 #define GOOGLE_PROTOBUF_GENERATED_MESSAGE_UTIL_H__
 
 #include <assert.h>
+#include <climits>
 #include <string>
 
 #include <google/protobuf/stubs/logging.h>