uapi: fix linux/ip6_tunnel.h userspace compilation errors
authorDmitry V. Levin <ldv@altlinux.org>
Wed, 22 Feb 2017 22:38:03 +0000 (01:38 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Feb 2017 15:46:07 +0000 (10:46 -0500)
commit557d7acd754543ca6f7166b9abde0a1af01ed848
treee2fabbd2f7c909fc2b3b3d88bf84d3485a5277c2
parent79873fb6348a35634b3edb60e21798ae716da824
uapi: fix linux/ip6_tunnel.h userspace compilation errors

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@altlinux.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/ip6_tunnel.h