X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fnet_packet.c;h=7dd9a21ab4346b154d05038eb156ce9425fb2012;hp=f0423c10f5d082282d03eaaffada550f5e58e901;hb=fbf8a47879671541939cfdc6beb93b02b9eee303;hpb=97d492d9e23f43fe4c8a5ca8c95747088cf32f98 diff --git a/src/net_packet.c b/src/net_packet.c index f0423c10..7dd9a21a 100644 --- a/src/net_packet.c +++ b/src/net_packet.c @@ -1,7 +1,7 @@ /* net_packet.c -- Handles in- and outgoing VPN packets - Copyright (C) 1998-2002 Ivo Timmermans , - 2000-2002 Guus Sliepen + Copyright (C) 1998-2002 Ivo Timmermans , + 2000-2002 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -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_packet.c,v 1.1.2.14 2002/04/18 20:09:05 zarq Exp $ + $Id: net_packet.c,v 1.1.2.20 2002/09/06 10:23:52 guus Exp $ */ #include "config.h" @@ -26,8 +26,13 @@ #include #include #include -#ifdef HAVE_LINUX +#ifdef HAVE_NETINET_IN_SYSTM_H + #include +#endif +#ifdef HAVE_NETINET_IP_H #include +#endif +#ifdef HAVE_NETINET_TCP_H #include #endif #include @@ -424,4 +429,3 @@ cp receive_udppacket(n, &pkt); cp } -