From c6a30166ab9d5c862aa2557f15a77e1f4e3eba75 Mon Sep 17 00:00:00 2001 From: WanqQixiang Date: Fri, 15 Sep 2023 11:40:10 +0800 Subject: [PATCH] Add #include for all the files that check CHIP_CONFIG_ENABLE_READ_CLIENT --- src/app/BufferedReadCallback.h | 1 + src/app/ClusterStateCache.h | 1 + src/app/InteractionModelEngine.cpp | 1 + src/app/InteractionModelEngine.h | 1 + src/app/ReadClient.h | 1 + src/controller/CHIPCluster.h | 1 + src/controller/CHIPDeviceController.h | 1 + src/controller/ReadInteraction.h | 1 + src/controller/TypedReadCallback.h | 1 + 9 files changed, 9 insertions(+) diff --git a/src/app/BufferedReadCallback.h b/src/app/BufferedReadCallback.h index 0616bb09958348..f8faaaa1a0fd74 100644 --- a/src/app/BufferedReadCallback.h +++ b/src/app/BufferedReadCallback.h @@ -21,6 +21,7 @@ #include "lib/core/TLV.h" #include "system/SystemPacketBuffer.h" #include "system/TLVPacketBufferBackingStore.h" +#include #include #include #include diff --git a/src/app/ClusterStateCache.h b/src/app/ClusterStateCache.h index 2a96a949193f4f..9bd1cb38dab242 100644 --- a/src/app/ClusterStateCache.h +++ b/src/app/ClusterStateCache.h @@ -21,6 +21,7 @@ #include "lib/core/CHIPError.h" #include "system/SystemPacketBuffer.h" #include "system/TLVPacketBufferBackingStore.h" +#include #include #include #include diff --git a/src/app/InteractionModelEngine.cpp b/src/app/InteractionModelEngine.cpp index b0a993fb614a1f..59c19517193539 100644 --- a/src/app/InteractionModelEngine.cpp +++ b/src/app/InteractionModelEngine.cpp @@ -29,6 +29,7 @@ #include "access/RequestPath.h" #include "access/SubjectDescriptor.h" +#include #include #include #include diff --git a/src/app/InteractionModelEngine.h b/src/app/InteractionModelEngine.h index 57e4c66475757f..e2e42cb0c19b66 100644 --- a/src/app/InteractionModelEngine.h +++ b/src/app/InteractionModelEngine.h @@ -26,6 +26,7 @@ #pragma once #include +#include #include #include #include diff --git a/src/app/ReadClient.h b/src/app/ReadClient.h index 85bcd124e5190f..8892b65236a5c0 100644 --- a/src/app/ReadClient.h +++ b/src/app/ReadClient.h @@ -24,6 +24,7 @@ #pragma once #include "system/SystemClock.h" +#include #include #include #include diff --git a/src/controller/CHIPCluster.h b/src/controller/CHIPCluster.h index 4324092871424b..fd355e6f0d473c 100644 --- a/src/controller/CHIPCluster.h +++ b/src/controller/CHIPCluster.h @@ -27,6 +27,7 @@ #pragma once #include "app/ConcreteCommandPath.h" +#include #include #include #include diff --git a/src/controller/CHIPDeviceController.h b/src/controller/CHIPDeviceController.h index b328ef68d9a47c..984f6434e8676b 100644 --- a/src/controller/CHIPDeviceController.h +++ b/src/controller/CHIPDeviceController.h @@ -28,6 +28,7 @@ #pragma once +#include #include #include #include diff --git a/src/controller/ReadInteraction.h b/src/controller/ReadInteraction.h index 34491dd9edfebf..f6254f3df4cee4 100644 --- a/src/controller/ReadInteraction.h +++ b/src/controller/ReadInteraction.h @@ -18,6 +18,7 @@ #pragma once +#include #include #include #include diff --git a/src/controller/TypedReadCallback.h b/src/controller/TypedReadCallback.h index f35a39670ee8e7..7823ad312123b1 100644 --- a/src/controller/TypedReadCallback.h +++ b/src/controller/TypedReadCallback.h @@ -18,6 +18,7 @@ #pragma once +#include #include #include #include