From 72dcfc73ab440f8492f6adcad5d154a5292e281b Mon Sep 17 00:00:00 2001 From: murgatroid99 Date: Fri, 18 Dec 2015 15:26:50 -0800 Subject: [PATCH] Fix a couple of minor issues in the Node library --- src/node/ext/call_credentials.cc | 2 ++ src/node/ext/timeval.cc | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/node/ext/call_credentials.cc b/src/node/ext/call_credentials.cc index 8cbfb1ebea0..91acb862547 100644 --- a/src/node/ext/call_credentials.cc +++ b/src/node/ext/call_credentials.cc @@ -32,6 +32,8 @@ */ #include +#include +#include #include "grpc/grpc.h" #include "grpc/grpc_security.h" diff --git a/src/node/ext/timeval.cc b/src/node/ext/timeval.cc index bf68513c487..64015e8412e 100644 --- a/src/node/ext/timeval.cc +++ b/src/node/ext/timeval.cc @@ -46,7 +46,7 @@ gpr_timespec MillisecondsToTimespec(double millis) { } else if (millis == -std::numeric_limits::infinity()) { return gpr_inf_past(GPR_CLOCK_REALTIME); } else { - return gpr_time_from_micros(static_cast(millis * 1000), + return gpr_time_from_micros(static_cast(millis * 1000), GPR_CLOCK_REALTIME); } }