Commit fe5c9e62 authored by Karl Heyes's avatar Karl Heyes
Browse files

minor build update

svn path=/icecast/trunk/net/; revision=13501
parent 7248d653
...@@ -60,7 +60,10 @@ ...@@ -60,7 +60,10 @@
/* for older C libraries */ /* for older C libraries */
#ifndef AI_NUMERICSERV #ifndef AI_NUMERICSERV
#define AI_NUMERICSERV 0 # define AI_NUMERICSERV 0
#endif
#ifndef AI_ADDRCONFIG
# define AI_ADDRCONFIG 0
#endif #endif
/* sock_initialize /* sock_initialize
...@@ -659,7 +662,7 @@ sock_t sock_get_server_socket (int port, const char *sinterface) ...@@ -659,7 +662,7 @@ sock_t sock_get_server_socket (int port, const char *sinterface)
if (bind (sock, ai->ai_addr, ai->ai_addrlen) < 0) if (bind (sock, ai->ai_addr, ai->ai_addrlen) < 0)
{ {
close (sock); sock_close (sock);
continue; continue;
} }
freeaddrinfo (res); freeaddrinfo (res);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment