mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Remove include
This commit is contained in:
parent
e5f29fd1b0
commit
eb2b7c83a3
2 changed files with 2 additions and 4 deletions
|
|
@ -8,8 +8,6 @@
|
|||
|
||||
#include <AssertMacros.h>
|
||||
|
||||
#import <sys/types.h>
|
||||
|
||||
#pragma mark * PingFoundation
|
||||
|
||||
@protocol PingFoundationDelegate;
|
||||
|
|
|
|||
|
|
@ -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)) )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue