attempt to fix a compilation problem for macos.

git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@624 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
This commit is contained in:
smorlat 2009-09-03 16:16:43 +00:00
parent 0402f12fe6
commit d0fb9e4534

View file

@ -752,11 +752,8 @@ int linphone_core_get_local_ip_for(const char *dest, char *result){
struct addrinfo *res=NULL;
struct sockaddr_storage addr;
ortp_socket_t sock;
#ifdef __APPLE_CC__
int s;
#else
socklen_t s;
#endif
memset(&hints,0,sizeof(hints));
hints.ai_family=PF_UNSPEC;
hints.ai_socktype=SOCK_DGRAM;