From 8514520eb92a5578f94e8e624d7c585ede30dd96 Mon Sep 17 00:00:00 2001 From: Venkatesh Srinivas Date: Wed, 8 Jun 2011 19:06:38 -0700 Subject: [PATCH] Move in6_addr's s6_addr16 and s6_addr32 definitions to __BSD_VISIBLE. --- sys/netinet6/in6.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netinet6/in6.h b/sys/netinet6/in6.h index 7d2c64447f..da2a76d307 100644 --- a/sys/netinet6/in6.h +++ b/sys/netinet6/in6.h @@ -137,7 +137,7 @@ struct in6_addr { #define s6_addr __u6_addr.__u6_addr8 #define _s6_addr16 __u6_addr.__u6_addr16 /* internal use */ #define _s6_addr32 __u6_addr.__u6_addr32 /* internal use */ -#ifdef _KERNEL /* XXX nonstandard */ +#if __BSD_VISIBLE /* XXX nonstandard */ #define s6_addr8 __u6_addr.__u6_addr8 #define s6_addr16 __u6_addr.__u6_addr16 #define s6_addr32 __u6_addr.__u6_addr32 -- 2.11.4.GIT