Эх сурвалжийг харах

Add missing include in message_lite.cc

This changes fixes "use of undeclared identifier 'INT_MAX'"
compilation error.
Julien Brianceau 9 жил өмнө
parent
commit
aac9ed8e39

+ 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>