From: David S. Miller Date: Mon, 21 Jul 2008 20:41:16 +0000 (-0700) Subject: ipv6: __KERNEL__ ifdef struct ipv6_devconf X-Git-Tag: v2.6.27-rc1~860^2~18 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=ebb36a978131810c98e7198b1187090c697cf99f;p=linux-2.6-omap-h63xx.git ipv6: __KERNEL__ ifdef struct ipv6_devconf Based upon a report by Olaf Hering. Signed-off-by: David S. Miller --- diff --git a/include/linux/ipv6.h b/include/linux/ipv6.h index 391ad0843a4..641e026eee8 100644 --- a/include/linux/ipv6.h +++ b/include/linux/ipv6.h @@ -123,6 +123,7 @@ struct ipv6hdr { struct in6_addr daddr; }; +#ifdef __KERNEL__ /* * This structure contains configuration options per IPv6 link. */ @@ -167,6 +168,7 @@ struct ipv6_devconf { __s32 accept_dad; void *sysctl; }; +#endif /* index values for the variables in ipv6_devconf */ enum {