From 5e60d1c7d267e2d95330c8ed69faaf8effb0d089 Mon Sep 17 00:00:00 2001 From: Jun-ichiro itojun Hagino Date: Wed, 9 Feb 2000 07:37:16 +0000 Subject: improve RFC2553/2292 conformance. netinet6/{ip6,icmp6,in6}.h should not be included. neitnet6/{ip6,icmp6}.h includes #error statements only - i'll remove them couple of days later. --- sys/netinet6/in6.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sys/netinet6/in6.h') diff --git a/sys/netinet6/in6.h b/sys/netinet6/in6.h index 4043de425f6..0ef0ccb076a 100644 --- a/sys/netinet6/in6.h +++ b/sys/netinet6/in6.h @@ -1,4 +1,4 @@ -/* $OpenBSD: in6.h,v 1.9 1999/12/10 08:53:17 angelos Exp $ */ +/* $OpenBSD: in6.h,v 1.10 2000/02/09 07:37:15 itojun Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. * All rights reserved. @@ -63,6 +63,10 @@ * @(#)in.h 8.3 (Berkeley) 1/3/94 */ +#ifndef __KAME_NETINET_IN_H_INCLUDED_ +#error "do not include netinet6/in6.h directly, include netinet/in.h" +#endif + #ifndef _NETINET6_IN6_H_ #define _NETINET6_IN6_H_ -- cgit v1.2.3