From dd251c382083c2d0fd18f36dc5ac68ccdb7da1d8 Mon Sep 17 00:00:00 2001 From: Yoshinobu Inoue Date: Sat, 11 Mar 2000 20:44:53 +0000 Subject: [PATCH] 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 --- sys/netinet6/ip6.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/netinet6/ip6.h b/sys/netinet6/ip6.h index 9c609e7c946..14ab71d0908 100644 --- a/sys/netinet6/ip6.h +++ b/sys/netinet6/ip6.h @@ -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.