Reachability.h文件在iOS6中出现的警告

Reachability.h文件在iOS6中会出现这样的一个Warning:

Semantic
Declaration of 'struct sockaddr_in' will not be visible outside of this function.

解决方法是引入以下的Header文件:

#import <netinet/in.h>
原文地址:https://www.cnblogs.com/SnailFish/p/3006731.html