Line 0
Link Here
|
|
|
1 |
diff --git a/third_party/ijar/mapped_file_unix.cc b/third_party/ijar/mapped_file_unix.cc |
2 |
index fbfca42723..a105ee89a7 100644 |
3 |
--- a/third_party/ijar/mapped_file_unix.cc |
4 |
+++ b/third_party/ijar/mapped_file_unix.cc |
5 |
@@ -19,6 +19,7 @@ |
6 |
#include <sys/mman.h> |
7 |
|
8 |
#include <algorithm> |
9 |
+#include <limits> |
10 |
|
11 |
#include "third_party/ijar/mapped_file.h" |
12 |
|
13 |
diff --git a/third_party/ijar/zlib_client.h b/third_party/ijar/zlib_client.h |
14 |
index ed6616362f..da0848852b 100644 |
15 |
--- a/third_party/ijar/zlib_client.h |
16 |
+++ b/third_party/ijar/zlib_client.h |
17 |
@@ -19,6 +19,8 @@ |
18 |
|
19 |
#include "third_party/ijar/common.h" |
20 |
|
21 |
+#include <limits> |
22 |
+ |
23 |
namespace devtools_ijar { |
24 |
// Try to compress a file entry in memory using the deflate algorithm. |
25 |
// It will compress buf (of size length) unless the compressed size is bigger |
26 |
diff --git a/third_party/protobuf/3.6.1/python/google/protobuf/pyext/message.cc b/third_party/protobuf/3.6.1/python/google/protobuf/pyext/message.cc |
27 |
index 5893533adf..78d964266d 100644 |
28 |
--- a/third_party/protobuf/3.6.1/python/google/protobuf/pyext/message.cc |
29 |
+++ b/third_party/protobuf/3.6.1/python/google/protobuf/pyext/message.cc |
30 |
@@ -33,6 +33,7 @@ |
31 |
|
32 |
#include <google/protobuf/pyext/message.h> |
33 |
|
34 |
+#include <limits> |
35 |
#include <map> |
36 |
#include <memory> |
37 |
#include <string> |
38 |
diff --git a/third_party/protobuf/3.6.1/src/google/protobuf/repeated_field.cc b/third_party/protobuf/3.6.1/src/google/protobuf/repeated_field.cc |
39 |
index 310000aabb..f95803d4f2 100644 |
40 |
--- a/third_party/protobuf/3.6.1/src/google/protobuf/repeated_field.cc |
41 |
+++ b/third_party/protobuf/3.6.1/src/google/protobuf/repeated_field.cc |
42 |
@@ -33,6 +33,7 @@ |
43 |
// Sanjay Ghemawat, Jeff Dean, and others. |
44 |
|
45 |
#include <algorithm> |
46 |
+#include <limits> |
47 |
|
48 |
#include <google/protobuf/repeated_field.h> |
49 |
#include <google/protobuf/stubs/logging.h> |
50 |
diff --git a/third_party/protobuf/3.6.1/src/google/protobuf/stubs/bytestream.cc b/third_party/protobuf/3.6.1/src/google/protobuf/stubs/bytestream.cc |
51 |
index f4af6a50ab..c3af6b7310 100644 |
52 |
--- a/third_party/protobuf/3.6.1/src/google/protobuf/stubs/bytestream.cc |
53 |
+++ b/third_party/protobuf/3.6.1/src/google/protobuf/stubs/bytestream.cc |
54 |
@@ -32,6 +32,7 @@ |
55 |
|
56 |
#include <string.h> |
57 |
#include <algorithm> |
58 |
+#include <limits> |
59 |
|
60 |
namespace google { |
61 |
namespace protobuf { |
62 |
diff --git a/third_party/protobuf/3.6.1/src/google/protobuf/util/field_comparator_test.cc b/third_party/protobuf/3.6.1/src/google/protobuf/util/field_comparator_test.cc |
63 |
index 249b8d5463..d5363c7784 100644 |
64 |
--- a/third_party/protobuf/3.6.1/src/google/protobuf/util/field_comparator_test.cc |
65 |
+++ b/third_party/protobuf/3.6.1/src/google/protobuf/util/field_comparator_test.cc |
66 |
@@ -42,6 +42,8 @@ |
67 |
// and the opensource version gtest.h header includes cmath transitively |
68 |
// somehow. |
69 |
#include <gtest/gtest.h> |
70 |
+#include <limits> |
71 |
+ |
72 |
namespace google { |
73 |
namespace protobuf { |
74 |
namespace util { |
75 |
diff --git a/third_party/protobuf/3.6.1/src/google/protobuf/util/internal/datapiece.cc b/third_party/protobuf/3.6.1/src/google/protobuf/util/internal/datapiece.cc |
76 |
index 59bc28ae71..914fe18913 100644 |
77 |
--- a/third_party/protobuf/3.6.1/src/google/protobuf/util/internal/datapiece.cc |
78 |
+++ b/third_party/protobuf/3.6.1/src/google/protobuf/util/internal/datapiece.cc |
79 |
@@ -38,6 +38,8 @@ |
80 |
#include <google/protobuf/stubs/mathlimits.h> |
81 |
#include <google/protobuf/stubs/mathutil.h> |
82 |
|
83 |
+#include <limits> |
84 |
+ |
85 |
namespace google { |
86 |
namespace protobuf { |
87 |
namespace util { |
88 |
diff --git a/third_party/protobuf/3.6.1/src/google/protobuf/util/internal/json_objectwriter_test.cc b/third_party/protobuf/3.6.1/src/google/protobuf/util/internal/json_objectwriter_test.cc |
89 |
index 0dc710c7fe..aedf26bb12 100644 |
90 |
--- a/third_party/protobuf/3.6.1/src/google/protobuf/util/internal/json_objectwriter_test.cc |
91 |
+++ b/third_party/protobuf/3.6.1/src/google/protobuf/util/internal/json_objectwriter_test.cc |
92 |
@@ -34,6 +34,8 @@ |
93 |
#include <google/protobuf/util/internal/utility.h> |
94 |
#include <gtest/gtest.h> |
95 |
|
96 |
+#include <limits> |
97 |
+ |
98 |
namespace google { |
99 |
namespace protobuf { |
100 |
namespace util { |
101 |
diff --git a/third_party/protobuf/3.6.1/src/google/protobuf/util/internal/protostream_objectwriter_test.cc b/third_party/protobuf/3.6.1/src/google/protobuf/util/internal/protostream_objectwriter_test.cc |
102 |
index 7f0df5677e..7d19608928 100644 |
103 |
--- a/third_party/protobuf/3.6.1/src/google/protobuf/util/internal/protostream_objectwriter_test.cc |
104 |
+++ b/third_party/protobuf/3.6.1/src/google/protobuf/util/internal/protostream_objectwriter_test.cc |
105 |
@@ -58,6 +58,8 @@ |
106 |
#include <gtest/gtest.h> |
107 |
|
108 |
|
109 |
+#include <limits> |
110 |
+ |
111 |
namespace google { |
112 |
namespace protobuf { |
113 |
namespace util { |
114 |
diff --git a/third_party/protobuf/3.6.1/src/google/protobuf/util/internal/utility.cc b/third_party/protobuf/3.6.1/src/google/protobuf/util/internal/utility.cc |
115 |
index b8d917ce28..5b1694503b 100644 |
116 |
--- a/third_party/protobuf/3.6.1/src/google/protobuf/util/internal/utility.cc |
117 |
+++ b/third_party/protobuf/3.6.1/src/google/protobuf/util/internal/utility.cc |
118 |
@@ -31,6 +31,7 @@ |
119 |
#include <google/protobuf/util/internal/utility.h> |
120 |
|
121 |
#include <algorithm> |
122 |
+#include <limits> |
123 |
|
124 |
#include <google/protobuf/stubs/callback.h> |
125 |
#include <google/protobuf/stubs/common.h> |