summaryrefslogtreecommitdiff
path: root/sys/netinet6/in6.h
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2000-02-09 07:37:16 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2000-02-09 07:37:16 +0000
commit5e60d1c7d267e2d95330c8ed69faaf8effb0d089 (patch)
tree2569ffc78b7cfbf0e3cb94020852d26338e515b5 /sys/netinet6/in6.h
parent821d722ee332c1623290aa7f283c852043beaac1 (diff)
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.
Diffstat (limited to 'sys/netinet6/in6.h')
-rw-r--r--sys/netinet6/in6.h6
1 files changed, 5 insertions, 1 deletions
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_