diff --git a/test/cpp/common/auth_property_iterator_test.cc b/test/cpp/common/auth_property_iterator_test.cc
index 6443e2fd85ca72e008f96ab1f3a254a8d7493cc0..74b18ced0d54425b0e4037cd576d077afe4a70ab 100644
--- a/test/cpp/common/auth_property_iterator_test.cc
+++ b/test/cpp/common/auth_property_iterator_test.cc
@@ -36,6 +36,10 @@
 #include <gtest/gtest.h>
 #include "src/cpp/common/secure_auth_context.h"
 
+extern "C" {
+#include "src/core/security/security_context.h"
+}
+
 namespace grpc {
 namespace {
 
diff --git a/test/cpp/common/secure_auth_context_test.cc b/test/cpp/common/secure_auth_context_test.cc
index bdc5cf73bb6ba505f190cebf3c79ccf9a7525840..075d4ce8c9870d71a1edd0e99c1d2bd6714acfc2 100644
--- a/test/cpp/common/secure_auth_context_test.cc
+++ b/test/cpp/common/secure_auth_context_test.cc
@@ -36,6 +36,10 @@
 #include <gtest/gtest.h>
 #include "src/cpp/common/secure_auth_context.h"
 
+extern "C" {
+#include "src/core/security/security_context.h"
+}
+
 namespace grpc {
 namespace {