X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fnet_socket.c;h=9af1cc9463ef477b42152ffa7fcb8c417776b91c;hp=74841875d5a827112b1f2150f5dc04e6301e015e;hb=940fcb6701d055f49530f12c93371f0280efce80;hpb=116ba3b3da73fb857cf75b5c92c6aacd70d94dd9 diff --git a/src/net_socket.c b/src/net_socket.c index 74841875..9af1cc94 100644 --- a/src/net_socket.c +++ b/src/net_socket.c @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: net_socket.c,v 1.1.2.13 2002/06/08 12:57:10 guus Exp $ + $Id: net_socket.c,v 1.1.2.15 2002/06/13 16:12:40 guus Exp $ */ #include "config.h" @@ -26,6 +26,9 @@ #include #include #include +#ifdef HAVE_NETINET_IN_SYSTM_H + #include +#endif #ifdef HAVE_NETINET_IP_H #include #endif @@ -77,7 +80,7 @@ int maxtimeout = 900; int seconds_till_retry = 5; listen_socket_t listen_socket[MAXSOCKETS]; -int listen_sockets = 0; +int listen_sockets; /* Setup sockets */