Reachability.h: error: declaration of 'struct sockaddr_in' will not be visible outside of this function [-Werror,3]Fix is easy, just add this:
#import <netinet/in.h>Hope Apple would pull together all "fixes" and update the Reachability master version for all of us.
thanks for posting this fix!
ReplyDeleteGreat thanks. That had me puzzled for a while
ReplyDeleteThanks! That warning was bugging me as well.
ReplyDeleteThanks, you helped yet another person!
ReplyDelete