Re: [PATCH v2] uapi: fix linux/ipv6_route.h userspace compilation errors

From: David Miller
Date: Sun Feb 19 2017 - 18:15:46 EST


From: "Dmitry V. Levin" <ldv@xxxxxxxxxxxx>
Date: Thu, 16 Feb 2017 18:04:14 +0300

> Include <linux/in6.h> to fix the following linux/ipv6_route.h userspace
> compilation errors:
>
> /usr/include/linux/ipv6_route.h:42:19: error: field 'rtmsg_dst' has incomplete type
> struct in6_addr rtmsg_dst;
> /usr/include/linux/ipv6_route.h:43:19: error: field 'rtmsg_src' has incomplete type
> struct in6_addr rtmsg_src;
> /ust/include/linux/ipv6_route.h:44:19: error: field 'rtmsg_gateway' has incomplete type
> struct in6_addr rtmsg_gateway;
>
> Signed-off-by: Dmitry V. Levin <ldv@xxxxxxxxxxxx>

Applied.