ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/src/netcompat.h
(Generate patch)

Comparing gvpe/src/netcompat.h (file contents):
Revision 1.4 by pcg, Thu Oct 16 13:37:52 2003 UTC vs.
Revision 1.6 by pcg, Fri Oct 17 01:33:37 2003 UTC

18*/ 18*/
19 19
20#ifndef VPE_NETCOMPAT_H 20#ifndef VPE_NETCOMPAT_H
21#define VPE_NETCOMPAT_H 21#define VPE_NETCOMPAT_H
22 22
23#include "config.h" 23#include <sys/types.h>
24
25#include <sys/socket.h> 24#include <sys/socket.h>
26#ifdef HAVE_NETINET_IN_H 25#ifdef HAVE_NETINET_IN_H
27# include <netinet/in.h> 26# include <netinet/in.h>
28#endif 27#endif
29#ifdef HAVE_ARPA_INET_H 28#ifdef HAVE_ARPA_INET_H
60 59
61#ifndef IPPROTO_GRE 60#ifndef IPPROTO_GRE
62# define IPPROTO_GRE 47 61# define IPPROTO_GRE 47
63#endif 62#endif
64 63
64#ifndef ICMP_ECHOREPLY
65# define ICMP_ECHOREPLY 0
66#endif
67
65#ifndef HAVE_SOCKLEN_T 68#ifndef HAVE_SOCKLEN_T
66typedef int socklen_t; 69typedef int socklen_t;
67#endif 70#endif
68 71
69#if ENABLE_ICMP 72#if ENABLE_ICMP

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines