]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ipv6: __KERNEL__ ifdef struct ipv6_devconf
authorDavid S. Miller <davem@davemloft.net>
Mon, 21 Jul 2008 20:41:16 +0000 (13:41 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Jul 2008 20:41:16 +0000 (13:41 -0700)
Based upon a report by Olaf Hering.

Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/ipv6.h

index 391ad0843a46af6b4af10abc5b7b552a26d95c0e..641e026eee8f1e3301a3297b85b0d6bafbcaadf5 100644 (file)
@@ -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 {