aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Feng Xiao <xfxyjwf@gmail.com>2016-12-13 15:11:09 -0800
committerGravatar GitHub <noreply@github.com>2016-12-13 15:11:09 -0800
commit837fd6b6a09d35440959222d2797bc7dd626c1e4 (patch)
tree0bbdb2f9c60814c63edbb04046e6ff2c33d3302c /src
parentf77b7d9ee381b3df61f0ebdbd12a159a131e28a1 (diff)
parent7b220f3db55c3b7bd38059aa1a2dcf7f6a8f7402 (diff)
Merge pull request #2493 from jbrianceau/add-missing-climits-include
Add missing includes
Diffstat (limited to 'src')
-rw-r--r--src/google/protobuf/compiler/js/embed.cc1
-rw-r--r--src/google/protobuf/io/coded_stream.h1
-rw-r--r--src/google/protobuf/message_lite.h1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/google/protobuf/compiler/js/embed.cc b/src/google/protobuf/compiler/js/embed.cc
index 5d7163fa..be2ffdd4 100644
--- a/src/google/protobuf/compiler/js/embed.cc
+++ b/src/google/protobuf/compiler/js/embed.cc
@@ -32,6 +32,7 @@
#include <cstdlib>
#include <fstream>
#include <iostream>
+#include <string>
const char output_file[] = "well_known_types_embed.cc";
diff --git a/src/google/protobuf/io/coded_stream.h b/src/google/protobuf/io/coded_stream.h
index d2a3e279..dc42e2fe 100644
--- a/src/google/protobuf/io/coded_stream.h
+++ b/src/google/protobuf/io/coded_stream.h
@@ -110,6 +110,7 @@
#define GOOGLE_PROTOBUF_IO_CODED_STREAM_H__
#include <assert.h>
+#include <climits>
#include <string>
#include <utility>
#ifdef _MSC_VER
diff --git a/src/google/protobuf/message_lite.h b/src/google/protobuf/message_lite.h
index d5de8cdb..5e5ed306 100644
--- a/src/google/protobuf/message_lite.h
+++ b/src/google/protobuf/message_lite.h
@@ -39,6 +39,7 @@
#ifndef GOOGLE_PROTOBUF_MESSAGE_LITE_H__
#define GOOGLE_PROTOBUF_MESSAGE_LITE_H__
+#include <climits>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/logging.h>