--- gvpe/src/netcompat.h 2003/10/16 02:41:21 1.3 +++ gvpe/src/netcompat.h 2005/03/18 01:53:05 1.8 @@ -1,8 +1,10 @@ /* netcompat.h -- network compatibility header - Copyright (C) 2003 Marc Lehmann + Copyright (C) 2003 Marc Lehmann - This program is free software; you can redistribute it and/or modify + This file is part of GVPE. + + GVPE is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. @@ -13,15 +15,14 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software + along with gvpe; if not, write to the Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifndef VPE_NETCOMPAT_H -#define VPE_NETCOMPAT_H - -#include "config.h" +#ifndef GVPE_NETCOMPAT_H +#define GVPE_NETCOMPAT_H +#include #include #ifdef HAVE_NETINET_IN_H # include @@ -37,8 +38,8 @@ # include #endif -#ifndef IPTOS_LOWCOST -# define IPTOS_LOWCOST 0x02 +#ifndef IPTOS_MINCOST +# define IPTOS_MINCOST 0x02 #endif #ifndef IPTOS_RELIABILITY # define IPTOS_RELIABILITY 0x04 @@ -62,6 +63,10 @@ # define IPPROTO_GRE 47 #endif +#ifndef ICMP_ECHOREPLY +# define ICMP_ECHOREPLY 0 +#endif + #ifndef HAVE_SOCKLEN_T typedef int socklen_t; #endif