uapi: fix linux/mroute6.h userspace compilation errors
authorDmitry V. Levin <ldv@altlinux.org>
Thu, 16 Feb 2017 15:04:29 +0000 (18:04 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sun, 19 Feb 2017 23:15:12 +0000 (18:15 -0500)
commit72aa107df6a275cf03359934ca5799a2be7a1bf7
treee150ee258409449c8e18b8d81cecef9ca9a0b6f7
parent6c07ec0fa5712b01d0967cf74129fa9b4d234af8
uapi: fix linux/mroute6.h userspace compilation errors

Include <linux/in6.h> to fix the following linux/mroute6.h userspace
compilation errors:

/usr/include/linux/mroute6.h:80:22: error: field 'mf6cc_origin' has incomplete type
  struct sockaddr_in6 mf6cc_origin;  /* Origin of mcast */
/usr/include/linux/mroute6.h:81:22: error: field 'mf6cc_mcastgrp' has incomplete type
  struct sockaddr_in6 mf6cc_mcastgrp;  /* Group in question */
/usr/include/linux/mroute6.h:91:22: error: field 'src' has incomplete type
  struct sockaddr_in6 src;
/usr/include/linux/mroute6.h:92:22: error: field 'grp' has incomplete type
  struct sockaddr_in6 grp;
/usr/include/linux/mroute6.h:132:18: error: field 'im6_src' has incomplete type
  struct in6_addr im6_src, im6_dst;
/usr/include/linux/mroute6.h:132:27: error: field 'im6_dst' has incomplete type
  struct in6_addr im6_src, im6_dst;

Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/mroute6.h