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

From: David Miller
Date: Thu Feb 23 2017 - 10:47:14 EST


From: "Dmitry V. Levin" <ldv@xxxxxxxxxxxx>
Date: Thu, 23 Feb 2017 01:38:03 +0300

> Include <linux/if.h> and <linux/in6.h> to fix the following
> linux/ip6_tunnel.h userspace compilation errors:
>
> /usr/include/linux/ip6_tunnel.h:23:12: error: 'IFNAMSIZ' undeclared here (not in a function)
> char name[IFNAMSIZ]; /* name of tunnel device */
> /usr/include/linux/ip6_tunnel.h:30:18: error: field 'laddr' has incomplete type
> struct in6_addr laddr; /* local tunnel end-point address */
>
> Signed-off-by: Dmitry V. Levin <ldv@xxxxxxxxxxxx>

Applied.