diff --git a/examples/tv-app/android/java/TVApp-JNI.cpp b/examples/tv-app/android/java/TVApp-JNI.cpp index 9dc63dc5e59394..d8bc006196378c 100644 --- a/examples/tv-app/android/java/TVApp-JNI.cpp +++ b/examples/tv-app/android/java/TVApp-JNI.cpp @@ -34,6 +34,7 @@ #include #include #include +#include #include #include #include @@ -215,7 +216,7 @@ class MyPostCommissioningListener : public PostCommissioningListener const SessionHandle & sessionHandle) override { // read current binding list - chip::Controller::BaseCluster cluster(exchangeMgr, sessionHandle, kTargetBindingClusterEndpointId); + chip::Controller::ClusterBase cluster(exchangeMgr, sessionHandle, kTargetBindingClusterEndpointId); cacheContext(vendorId, productId, nodeId, exchangeMgr, sessionHandle); diff --git a/examples/tv-app/tv-common/src/AppTv.cpp b/examples/tv-app/tv-common/src/AppTv.cpp index fe3b9b063d8095..939e14be5315cc 100644 --- a/examples/tv-app/tv-common/src/AppTv.cpp +++ b/examples/tv-app/tv-common/src/AppTv.cpp @@ -21,6 +21,9 @@ #include "AppTv.h" +#include +#include + #include #include #include @@ -28,8 +31,7 @@ #include #include #include -#include -#include +#include #include #include #include @@ -125,7 +127,7 @@ class MyPostCommissioningListener : public PostCommissioningListener const SessionHandle & sessionHandle) override { // read current binding list - chip::Controller::BaseCluster cluster(exchangeMgr, sessionHandle, kTargetBindingClusterEndpointId); + chip::Controller::ClusterBase cluster(exchangeMgr, sessionHandle, kTargetBindingClusterEndpointId); cacheContext(vendorId, productId, nodeId, exchangeMgr, sessionHandle);