aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/util/passthru_endpoint.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/core/util/passthru_endpoint.h')
-rw-r--r--test/core/util/passthru_endpoint.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/core/util/passthru_endpoint.h b/test/core/util/passthru_endpoint.h
index da769024a5..23d21c6061 100644
--- a/test/core/util/passthru_endpoint.h
+++ b/test/core/util/passthru_endpoint.h
@@ -19,9 +19,11 @@
#ifndef MOCK_ENDPOINT_H
#define MOCK_ENDPOINT_H
+#include <grpc/support/atm.h>
+
#include "src/core/lib/iomgr/endpoint.h"
-typedef struct { int num_writes; } grpc_passthru_endpoint_stats;
+typedef struct { gpr_atm num_writes; } grpc_passthru_endpoint_stats;
void grpc_passthru_endpoint_create(grpc_endpoint **client,
grpc_endpoint **server,