From bcb529e3a65881b02f0bacacef56657318c88db7 Mon Sep 17 00:00:00 2001 From: Nivedita Sarkar Date: Fri, 19 Apr 2024 12:59:05 -0700 Subject: [PATCH] Move the inclusion of optional header file in UserDefaults.h --- src/platform/Darwin/UserDefaults.h | 2 ++ src/platform/Darwin/UserDefaults.mm | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/platform/Darwin/UserDefaults.h b/src/platform/Darwin/UserDefaults.h index d3f881f5e6ea2a..f191a92ccb115d 100644 --- a/src/platform/Darwin/UserDefaults.h +++ b/src/platform/Darwin/UserDefaults.h @@ -16,6 +16,8 @@ #pragma once +#include + namespace chip { namespace Platform { diff --git a/src/platform/Darwin/UserDefaults.mm b/src/platform/Darwin/UserDefaults.mm index 3f39e73f9c57ca..58f679f3d80885 100644 --- a/src/platform/Darwin/UserDefaults.mm +++ b/src/platform/Darwin/UserDefaults.mm @@ -19,7 +19,6 @@ #include #include -#include static NSString * const kUserDefaultDomain = @"org.csa-iot.matter.darwin"; static NSString * const kSRPTimeoutInMsecsUserDefaultKey = @"SRPTimeoutInMSecsOverride";