diff --git a/src/app/BUILD.gn b/src/app/BUILD.gn index 73e9d643abf81e..6b800a2213a2fb 100644 --- a/src/app/BUILD.gn +++ b/src/app/BUILD.gn @@ -97,8 +97,12 @@ source_set("paths") { source_set("global-attributes") { sources = [ "GlobalAttributes.h" ] - # This also depends on zap-generated code which is currently impossible to split outs - public_deps = [ "${chip_root}/src/lib/support" ] + # This also depends on zap-generated code which is currently impossible to split out + # as a dependency + public_deps = [ + ":app_config", + "${chip_root}/src/lib/support", + ] } source_set("pre-encoded-value") { diff --git a/src/app/GlobalAttributes.h b/src/app/GlobalAttributes.h index d0b2a05a53f259..5096792309a880 100644 --- a/src/app/GlobalAttributes.h +++ b/src/app/GlobalAttributes.h @@ -18,6 +18,7 @@ #pragma once #include +#include #include namespace chip {