mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Remove include
This commit is contained in:
parent
e5f29fd1b0
commit
eb2b7c83a3
@ -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…
x
Reference in New Issue
Block a user