diff --git a/test/cpp/util/test_credentials_provider.cc b/test/cpp/util/test_credentials_provider.cc
index 5c9816f8537edf690ca258bb83534ccc752747ac..cfd3ebbb111d5fca91527a1f74fd0e4ad9ffc019 100644
--- a/test/cpp/util/test_credentials_provider.cc
+++ b/test/cpp/util/test_credentials_provider.cc
@@ -34,8 +34,9 @@
 
 #include "test/cpp/util/test_credentials_provider.h"
 
-#include "include/grpc/impl/codegen/sync_posix.h"
-#include "include/grpc++/impl/codegen/sync_no_cxx11.h"
+#include <grpc/support/sync.h>
+#include <grpc++/impl/sync.h>
+
 #include "test/core/end2end/data/ssl_test_data.h"
 
 namespace {