From 2547833976353afd79d23ffade1a4cf57a0a8cd9 Mon Sep 17 00:00:00 2001 From: wendythewan <99999710+wendythewan@users.noreply.github.com> Date: Thu, 19 May 2022 11:27:33 -0700 Subject: [PATCH] Include what you use: add direct includes in files (#18570) * Add missing include in chip-zcl-zpro-codec.h * Add missing include in AttributePathIB.h * Add missing include in ClusterPathIB.h * Add missing include in EventFilterIB.h * Add direct include in EventPathIB.h * Add direct include in DefaultStorageKeyAllocator.h * Add direct include in sf-structs.h * Add used include * Update af-structs.h * Update af-structs.zapt * Ran zap regen Co-authored-by: Andrei Litvin --- src/app/MessageDef/AttributePathIB.h | 1 + src/app/MessageDef/ClusterPathIB.h | 1 + src/app/MessageDef/EventFilterIB.h | 1 + src/app/MessageDef/EventPathIB.h | 1 + src/app/chip-zcl-zpro-codec.h | 1 + src/app/zap-templates/templates/app/af-structs.zapt | 2 ++ src/lib/support/DefaultStorageKeyAllocator.h | 1 + zzz_generated/app-common/app-common/zap-generated/af-structs.h | 2 ++ 8 files changed, 10 insertions(+) diff --git a/src/app/MessageDef/AttributePathIB.h b/src/app/MessageDef/AttributePathIB.h index 24d0bbd03641a4..e5192ccb119739 100644 --- a/src/app/MessageDef/AttributePathIB.h +++ b/src/app/MessageDef/AttributePathIB.h @@ -28,6 +28,7 @@ #include #include #include +#include #include #include diff --git a/src/app/MessageDef/ClusterPathIB.h b/src/app/MessageDef/ClusterPathIB.h index 87cf4d2fa892a5..cfcb65ec69fc54 100644 --- a/src/app/MessageDef/ClusterPathIB.h +++ b/src/app/MessageDef/ClusterPathIB.h @@ -24,6 +24,7 @@ #include #include #include +#include #include #include diff --git a/src/app/MessageDef/EventFilterIB.h b/src/app/MessageDef/EventFilterIB.h index 7fbe26fc1c80d6..518b20a301761f 100644 --- a/src/app/MessageDef/EventFilterIB.h +++ b/src/app/MessageDef/EventFilterIB.h @@ -29,6 +29,7 @@ #include #include #include +#include #include #include diff --git a/src/app/MessageDef/EventPathIB.h b/src/app/MessageDef/EventPathIB.h index d71c141733496d..9d6e3787de61d4 100644 --- a/src/app/MessageDef/EventPathIB.h +++ b/src/app/MessageDef/EventPathIB.h @@ -27,6 +27,7 @@ #include #include #include +#include #include #include diff --git a/src/app/chip-zcl-zpro-codec.h b/src/app/chip-zcl-zpro-codec.h index facda21c5a518b..a1a20639c7895a 100644 --- a/src/app/chip-zcl-zpro-codec.h +++ b/src/app/chip-zcl-zpro-codec.h @@ -18,6 +18,7 @@ #pragma once #include +#include #include typedef uint16_t EmberApsOption; diff --git a/src/app/zap-templates/templates/app/af-structs.zapt b/src/app/zap-templates/templates/app/af-structs.zapt index 381e4c91722cc4..73f06b56b28cf4 100644 --- a/src/app/zap-templates/templates/app/af-structs.zapt +++ b/src/app/zap-templates/templates/app/af-structs.zapt @@ -6,6 +6,8 @@ #include #include +#include +#include #include #include diff --git a/src/lib/support/DefaultStorageKeyAllocator.h b/src/lib/support/DefaultStorageKeyAllocator.h index e908256da79c97..ee433fded170b0 100644 --- a/src/lib/support/DefaultStorageKeyAllocator.h +++ b/src/lib/support/DefaultStorageKeyAllocator.h @@ -19,6 +19,7 @@ #include #include #include +#include #include #include #include diff --git a/zzz_generated/app-common/app-common/zap-generated/af-structs.h b/zzz_generated/app-common/app-common/zap-generated/af-structs.h index c5f0e03560121b..d006d53d20d73a 100644 --- a/zzz_generated/app-common/app-common/zap-generated/af-structs.h +++ b/zzz_generated/app-common/app-common/zap-generated/af-structs.h @@ -23,6 +23,8 @@ #include #include +#include +#include #include #include