aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/core/lib/channel/channel_trace.cc1
-rw-r--r--test/cpp/util/BUILD1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/core/lib/channel/channel_trace.cc b/src/core/lib/channel/channel_trace.cc
index 67d5fd364b..654300cd32 100644
--- a/src/core/lib/channel/channel_trace.cc
+++ b/src/core/lib/channel/channel_trace.cc
@@ -24,6 +24,7 @@
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include <grpc/support/string_util.h>
+#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/test/cpp/util/BUILD b/test/cpp/util/BUILD
index 4ac8572072..f53bc7eb7f 100644
--- a/test/cpp/util/BUILD
+++ b/test/cpp/util/BUILD
@@ -86,6 +86,7 @@ grpc_cc_library(
grpc_cc_library(
name = "channel_trace_proto_helper",
+ testonly = 1,
srcs = [
"channel_trace_proto_helper.cc",
],