Forbid include of netinet6/ip6.h from user-land, and if included,
print an error message which say, "include netinet/ip6.h". This is postponed to apply to avoid tcpdump compile error. Now apply this because tcpdump has been already fixed. Approved by: jkh Obtained from: KAME project
This commit is contained in:
parent
a2fa84dec2
commit
e044d42177
@ -68,10 +68,8 @@
|
||||
#define _NETINET6_IPV6_H_
|
||||
|
||||
#if !defined(_KERNEL) && !defined(__KAME_NETINET_IP6_H_INCLUDED_)
|
||||
#if 0 /* XXX: waiting for contrib/addrtoname.c fix */
|
||||
#error "do not include netinet6/ip6.h directly, include netinet/ip6.h"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Definition for internet protocol version 6.
|
||||
|
Loading…
x
Reference in New Issue
Block a user