Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys netinet/netinet6: Add necessary includes to make these s...
details: https://anonhg.NetBSD.org/src/rev/5e406bddc19f
branches: trunk
changeset: 953377:5e406bddc19f
user: christos <christos%NetBSD.org@localhost>
date: Sun Mar 07 15:01:00 2021 +0000
description:
netinet/netinet6: Add necessary includes to make these standalone.
(from riastradh)
diffstat:
sys/netinet/ip6.h | 7 ++++++-
sys/netinet6/ip6_var.h | 12 +++++++++++-
2 files changed, 17 insertions(+), 2 deletions(-)
diffs (57 lines):
diff -r 8a4d56a8249c -r 5e406bddc19f sys/netinet/ip6.h
--- a/sys/netinet/ip6.h Sun Mar 07 14:59:36 2021 +0000
+++ b/sys/netinet/ip6.h Sun Mar 07 15:01:00 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ip6.h,v 1.29 2021/02/03 18:13:13 roy Exp $ */
+/* $NetBSD: ip6.h,v 1.30 2021/03/07 15:01:00 christos Exp $ */
/* $KAME: ip6.h,v 1.45 2003/06/05 04:46:38 keiichi Exp $ */
/*
@@ -64,6 +64,11 @@
#ifndef _NETINET_IP6_H_
#define _NETINET_IP6_H_
+#include <sys/types.h>
+#include <sys/endian.h>
+
+#include <netinet/in.h>
+
/*
* Definition for internet protocol version 6.
* RFC 2460
diff -r 8a4d56a8249c -r 5e406bddc19f sys/netinet6/ip6_var.h
--- a/sys/netinet6/ip6_var.h Sun Mar 07 14:59:36 2021 +0000
+++ b/sys/netinet6/ip6_var.h Sun Mar 07 15:01:00 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ip6_var.h,v 1.87 2020/08/28 06:32:24 ozaki-r Exp $ */
+/* $NetBSD: ip6_var.h,v 1.88 2021/03/07 15:01:35 christos Exp $ */
/* $KAME: ip6_var.h,v 1.33 2000/06/11 14:59:20 jinmei Exp $ */
/*
@@ -64,9 +64,16 @@
#ifndef _NETINET6_IP6_VAR_H_
#define _NETINET6_IP6_VAR_H_
+#include <sys/types.h>
+#include <sys/queue.h>
#include <sys/socketvar.h>
+
+#include <net/if.h>
#include <net/route.h>
+#include <netinet/in.h>
+#include <netinet/ip6.h>
+
struct ip6_moptions {
if_index_t im6o_multicast_if_index; /* I/F for outgoing multicasts */
u_char im6o_multicast_hlim; /* hoplimit for outgoing multicasts */
@@ -219,6 +226,9 @@
};
#ifdef _KERNEL
+
+#include <sys/protosw.h>
+
/*
* Auxiliary attributes of incoming IPv6 packets, which is initialized when we
* come into ip6_input().
Home |
Main Index |
Thread Index |
Old Index