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";