summaryrefslogtreecommitdiffstats
path: root/sys/compat/linuxkpi/common/include/net/ipv6.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/compat/linuxkpi/common/include/net/ipv6.h')
-rw-r--r--sys/compat/linuxkpi/common/include/net/ipv6.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/compat/linuxkpi/common/include/net/ipv6.h b/sys/compat/linuxkpi/common/include/net/ipv6.h
index 1244706..7e078f3 100644
--- a/sys/compat/linuxkpi/common/include/net/ipv6.h
+++ b/sys/compat/linuxkpi/common/include/net/ipv6.h
@@ -31,13 +31,14 @@
#ifndef _LINUX_NET_IPV6_H_
#define _LINUX_NET_IPV6_H_
-#include "opt_inet6.h"
+#include <sys/types.h>
+#include <netinet/in.h>
+#include <linux/types.h>
#define ipv6_addr_loopback IN6_IS_ADDR_LOOPBACK
#define ipv6_addr_copy(dst, src) \
memcpy((dst), (src), sizeof(struct in6_addr))
-#ifdef INET6
static inline void
ipv6_ib_mc_map(const struct in6_addr *addr, const unsigned char *broadcast,
char *buf)
@@ -57,7 +58,6 @@ ipv6_ib_mc_map(const struct in6_addr *addr, const unsigned char *broadcast,
buf[9] = broadcast[9];
memcpy(&buf[10], &addr->s6_addr[6], 10);
}
-#endif
static inline void __ipv6_addr_set_half(__be32 *addr,
__be32 wh, __be32 wl)
OpenPOWER on IntegriCloud