diff options
Diffstat (limited to 'include/net/addrconf.h')
-rw-r--r-- | include/net/addrconf.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/net/addrconf.h b/include/net/addrconf.h index 7af9a13cb9be..a0ed93672176 100644 --- a/include/net/addrconf.h +++ b/include/net/addrconf.h | |||
@@ -17,6 +17,8 @@ | |||
17 | 17 | ||
18 | #define IPV6_MAX_ADDRESSES 16 | 18 | #define IPV6_MAX_ADDRESSES 16 |
19 | 19 | ||
20 | #include <linux/in6.h> | ||
21 | |||
20 | struct prefix_info { | 22 | struct prefix_info { |
21 | __u8 type; | 23 | __u8 type; |
22 | __u8 length; | 24 | __u8 length; |
@@ -43,9 +45,9 @@ struct prefix_info { | |||
43 | 45 | ||
44 | #ifdef __KERNEL__ | 46 | #ifdef __KERNEL__ |
45 | 47 | ||
46 | #include <linux/in6.h> | ||
47 | #include <linux/netdevice.h> | 48 | #include <linux/netdevice.h> |
48 | #include <net/if_inet6.h> | 49 | #include <net/if_inet6.h> |
50 | #include <net/ipv6.h> | ||
49 | 51 | ||
50 | #define IN6_ADDR_HSIZE 16 | 52 | #define IN6_ADDR_HSIZE 16 |
51 | 53 | ||