Browse Source

Add missing include in message_lite.cc

This changes fixes "use of undeclared identifier 'INT_MAX'"
compilation error.
Julien Brianceau 9 years ago
parent
commit
aac9ed8e39
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/google/protobuf/message_lite.cc

+ 1 - 0
src/google/protobuf/message_lite.cc

@@ -33,6 +33,7 @@
 //  Based on original Protocol Buffers design by
 //  Sanjay Ghemawat, Jeff Dean, and others.
 
+#include <climits>
 #include <google/protobuf/arena.h>
 #include <google/protobuf/generated_message_util.h>
 #include <google/protobuf/message_lite.h>