aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2015-12-07 08:11:27 -0800
committerGravatar Jan Tattermusch <jtattermusch@google.com>2015-12-07 17:59:35 -0800
commit5dc93c363b7422a0baae67f2db32713c264f405b (patch)
treeb463dd554ba3aeb181bf83081b84e72714577d91
parent2dd156ef642fa2968437a736252532303ae0f022 (diff)
include climits
-rw-r--r--include/grpc++/impl/rpc_service_method.h1
-rw-r--r--src/cpp/proto/proto_utils.cc2
2 files changed, 3 insertions, 0 deletions
diff --git a/include/grpc++/impl/rpc_service_method.h b/include/grpc++/impl/rpc_service_method.h
index 9d30d9627c..b203c8f53a 100644
--- a/include/grpc++/impl/rpc_service_method.h
+++ b/include/grpc++/impl/rpc_service_method.h
@@ -34,6 +34,7 @@
#ifndef GRPCXX_IMPL_RPC_SERVICE_METHOD_H
#define GRPCXX_IMPL_RPC_SERVICE_METHOD_H
+#include <climits>
#include <functional>
#include <map>
#include <memory>
diff --git a/src/cpp/proto/proto_utils.cc b/src/cpp/proto/proto_utils.cc
index 0a05f29222..898a1d4f58 100644
--- a/src/cpp/proto/proto_utils.cc
+++ b/src/cpp/proto/proto_utils.cc
@@ -33,6 +33,8 @@
#include <grpc++/impl/proto_utils.h>
+#include <climits>
+
#include <grpc/grpc.h>
#include <grpc/byte_buffer.h>
#include <grpc/byte_buffer_reader.h>