From eb2b7c83a3c6948bc8ad468f339cb044bb896765 Mon Sep 17 00:00:00 2001 From: Isaac <> Date: Wed, 16 Oct 2024 00:06:19 +0400 Subject: [PATCH] Remove include --- submodules/MtProtoKit/Sources/PingFoundation.h | 2 -- submodules/MtProtoKit/Sources/PingFoundation.m | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/submodules/MtProtoKit/Sources/PingFoundation.h b/submodules/MtProtoKit/Sources/PingFoundation.h index 9c6d5a0234..07041a0c7b 100644 --- a/submodules/MtProtoKit/Sources/PingFoundation.h +++ b/submodules/MtProtoKit/Sources/PingFoundation.h @@ -8,8 +8,6 @@ #include -#import - #pragma mark * PingFoundation @protocol PingFoundationDelegate; diff --git a/submodules/MtProtoKit/Sources/PingFoundation.m b/submodules/MtProtoKit/Sources/PingFoundation.m index f605c272e6..dfb6df3924 100644 --- a/submodules/MtProtoKit/Sources/PingFoundation.m +++ b/submodules/MtProtoKit/Sources/PingFoundation.m @@ -138,8 +138,8 @@ static uint16_t in_cksum(const void *buffer, size_t bufferLen) { [self stop]; } -- (sa_family_t)hostAddressFamily { - sa_family_t result; +- (__uint8_t)hostAddressFamily { + __uint8_t result; result = AF_UNSPEC; if ( (self.hostAddress != nil) && (self.hostAddress.length >= sizeof(struct sockaddr)) )