From cd94b81ed74a333fc47e6dbca0bb391c085215a4 Mon Sep 17 00:00:00 2001 From: Stanley Cheung Date: Thu, 15 Feb 2018 13:37:08 -0800 Subject: [PATCH] gRPC Updates --- net/grpc/gateway/nginx/grpc_gateway_module.c | 1 - net/grpc/gateway/runtime/grpc_event_queue.cc | 1 + net/grpc/gateway/runtime/grpc_event_queue.h | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/grpc/gateway/nginx/grpc_gateway_module.c b/net/grpc/gateway/nginx/grpc_gateway_module.c index 60bc4f5..ffe0077 100644 --- a/net/grpc/gateway/nginx/grpc_gateway_module.c +++ b/net/grpc/gateway/nginx/grpc_gateway_module.c @@ -26,7 +26,6 @@ #include "third_party/grpc/include/grpc/grpc.h" #include "third_party/grpc/include/grpc/slice.h" #include "third_party/grpc/include/grpc/status.h" -#include "third_party/grpc/include/grpc/support/thd.h" #include "third_party/grpc/include/grpc/support/time.h" // Tag for requests to GRPC backend. It contains the content and will be send diff --git a/net/grpc/gateway/runtime/grpc_event_queue.cc b/net/grpc/gateway/runtime/grpc_event_queue.cc index 907dd2b..71843ce 100644 --- a/net/grpc/gateway/runtime/grpc_event_queue.cc +++ b/net/grpc/gateway/runtime/grpc_event_queue.cc @@ -8,6 +8,7 @@ #include "net/grpc/gateway/runtime/tag.h" #include "third_party/grpc/include/grpc/grpc.h" #include "third_party/grpc/include/grpc/support/time.h" +#include "third_party/grpc/src/core/lib/gpr/thd.h" namespace grpc { namespace gateway { diff --git a/net/grpc/gateway/runtime/grpc_event_queue.h b/net/grpc/gateway/runtime/grpc_event_queue.h index 630c3b7..76840ac 100644 --- a/net/grpc/gateway/runtime/grpc_event_queue.h +++ b/net/grpc/gateway/runtime/grpc_event_queue.h @@ -2,7 +2,7 @@ #define NET_GRPC_GATEWAY_RUNTIME_GRPC_EVENT_QUEUE_H_ #include "third_party/grpc/include/grpc/grpc.h" -#include "third_party/grpc/include/grpc/support/thd.h" +#include "third_party/grpc/include/grpc/support/thd_id.h" namespace grpc { namespace gateway {