diff --git a/src/mod/endpoints/mod_iax/iax.c b/src/mod/endpoints/mod_iax/iax.c index 8f366e2bf3..c616854fa2 100644 --- a/src/mod/endpoints/mod_iax/iax.c +++ b/src/mod/endpoints/mod_iax/iax.c @@ -957,7 +957,11 @@ int iax_init(char *ip, int preferredportno) { int portno = preferredportno; struct sockaddr_in sin; +#ifdef WIN32 socklen_t sinlen; +#else + unsigned int sinlen; +#endif int flags; init_time();