Commit 6a800d45 authored by Patrick McHardy's avatar Patrick McHardy Committed by David S. Miller

[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: default avatarPatrick McHardy <kaber@trash.net>
parent 8800cea6
...@@ -17,6 +17,8 @@ ...@@ -17,6 +17,8 @@
#define IPV6_MAX_ADDRESSES 16 #define IPV6_MAX_ADDRESSES 16
#include <linux/in6.h>
struct prefix_info { struct prefix_info {
__u8 type; __u8 type;
__u8 length; __u8 length;
...@@ -43,7 +45,6 @@ struct prefix_info { ...@@ -43,7 +45,6 @@ struct prefix_info {
#ifdef __KERNEL__ #ifdef __KERNEL__
#include <linux/in6.h>
#include <linux/netdevice.h> #include <linux/netdevice.h>
#include <net/if_inet6.h> #include <net/if_inet6.h>
#include <net/ipv6.h> #include <net/ipv6.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment