From 7caa86d068324ce6f441e9de927e49f996ec89be Mon Sep 17 00:00:00 2001 From: Nivedita Sarkar Date: Fri, 19 Apr 2024 14:09:56 -0700 Subject: [PATCH] Include header cstdint from UserDefaults.h --- src/platform/Darwin/UserDefaults.h | 1 + src/platform/Darwin/UserDefaults.mm | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/platform/Darwin/UserDefaults.h b/src/platform/Darwin/UserDefaults.h index f191a92ccb115d..5df5d2064256b9 100644 --- a/src/platform/Darwin/UserDefaults.h +++ b/src/platform/Darwin/UserDefaults.h @@ -16,6 +16,7 @@ #pragma once +#include #include namespace chip { diff --git a/src/platform/Darwin/UserDefaults.mm b/src/platform/Darwin/UserDefaults.mm index 6cdd1593e846ce..d24b0a4ee20f37 100644 --- a/src/platform/Darwin/UserDefaults.mm +++ b/src/platform/Darwin/UserDefaults.mm @@ -15,12 +15,11 @@ * limitations under the License. */ -#import - +#include "UserDefaults.h" #include #include -#include "UserDefaults.h" +#import static NSString * const kUserDefaultDomain = @"org.csa-iot.matter.darwin"; static NSString * const kSRPTimeoutInMsecsUserDefaultKey = @"SRPTimeoutInMSecsOverride";