… | … | ||
---|---|---|---|
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 |
66 | typedef int socklen_t; | 69 | typedef int socklen_t; |
67 | #endif | 70 | #endif |
68 | 71 | ||
69 | #if ENABLE_ICMP | 72 | #if ENABLE_ICMP |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |