mirror of
https://github.com/the-tcpdump-group/tcpdump.git
synced 2024-11-30 13:34:04 +08:00
added some minor protection against multiple inclusion
This commit is contained in:
parent
292d58b784
commit
a9f4d1c299
@ -319,6 +319,7 @@ typedef char* caddr_t;
|
||||
* define struct in6_addr so that we can use it for IPv6 addresses.
|
||||
*/
|
||||
#ifndef HAVE_OS_IPV6_SUPPORT
|
||||
#ifndef AF_INET6
|
||||
#define AF_INET6 24
|
||||
|
||||
struct in6_addr {
|
||||
@ -329,6 +330,7 @@ struct in6_addr {
|
||||
} __u6_addr; /* 128-bit IP6 address */
|
||||
};
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef NI_MAXHOST
|
||||
#define NI_MAXHOST 1025
|
||||
|
Loading…
Reference in New Issue
Block a user