Explorar o código

Add missing include in message_lite.cc

This changes fixes "use of undeclared identifier 'INT_MAX'"
compilation error.
Julien Brianceau %!s(int64=9) %!d(string=hai) anos
pai
achega
aac9ed8e39
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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
 //  Based on original Protocol Buffers design by
 //  Sanjay Ghemawat, Jeff Dean, and others.
 //  Sanjay Ghemawat, Jeff Dean, and others.
 
 
+#include <climits>
 #include <google/protobuf/arena.h>
 #include <google/protobuf/arena.h>
 #include <google/protobuf/generated_message_util.h>
 #include <google/protobuf/generated_message_util.h>
 #include <google/protobuf/message_lite.h>
 #include <google/protobuf/message_lite.h>