From: Patrick McHardy Date: Wed, 4 May 2005 05:17:18 +0000 (-0700) Subject: [IPV6]: net/addrconf.h needs to include linux/in6.h earlier X-Git-Tag: v2.6.12-rc4~117^2~20^2 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a800d456a81a9046634bcd26d868fd537f0c9ae;p=linux-2.6 [IPV6]: net/addrconf.h needs to include linux/in6.h earlier Else the in6_addr layout is not known for struct prefix_info. Signed-off-by: Patrick McHardy --- diff --git a/include/net/addrconf.h b/include/net/addrconf.h index f1e5af4be9..a0ed936721 100644 --- a/include/net/addrconf.h +++ b/include/net/addrconf.h @@ -17,6 +17,8 @@ #define IPV6_MAX_ADDRESSES 16 +#include + struct prefix_info { __u8 type; __u8 length; @@ -43,7 +45,6 @@ struct prefix_info { #ifdef __KERNEL__ -#include #include #include #include