X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fnet.c;h=f81c4ba8903fdea455830e39e3baaecaeafba2b9;hp=5cd3fa5efb4a81b72f1a816cbf313185faeb9219;hb=006591efe5b3e6c64040d267f8c0477468abf2bf;hpb=f75dcef72a81a337e847adf0bae54198894f65b9 diff --git a/src/net.c b/src/net.c index 5cd3fa5e..f81c4ba8 100644 --- a/src/net.c +++ b/src/net.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.c,v 1.35.4.180 2002/09/09 21:24:34 guus Exp $ + $Id: net.c,v 1.35.4.182 2002/09/15 14:55:53 guus Exp $ */ #include "config.h" @@ -25,16 +25,6 @@ #include #include #include -#include -#ifdef HAVE_NETINET_IN_SYSTM_H -#include -#endif -#ifdef HAVE_NETINET_IP_H -#include -#endif -#ifdef HAVE_NETINET_TCP_H -#include -#endif #include #include #include @@ -49,6 +39,16 @@ #include #include #include +#ifdef HAVE_NETINET_IN_SYSTM_H +#include +#endif +#include +#ifdef HAVE_NETINET_IP_H +#include +#endif +#ifdef HAVE_NETINET_TCP_H +#include +#endif #include @@ -166,7 +166,7 @@ void build_fdset(fd_set * fs) - Check if we need to retry making an outgoing connection - Deactivate the host */ -void terminate_connection(connection_t * c, int report) +void terminate_connection(connection_t *c, int report) { cp();