--- gvpe/src/netcompat.h 2003/10/14 19:12:26 1.1 +++ gvpe/src/netcompat.h 2003/10/16 13:37:52 1.4 @@ -1,5 +1,6 @@ /* netcompat.h -- network compatibility header + Copyright (C) 2003 Marc Lehmann 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 @@ -25,7 +26,9 @@ #ifdef HAVE_NETINET_IN_H # include #endif -#include +#ifdef HAVE_ARPA_INET_H +# include +#endif #include #ifdef HAVE_NETINET_IN_SYSTM_H # include @@ -34,8 +37,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