History

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;

Dmitry V. Levin committed 9 years ago

Commit 72aa1071 parent 6c07ec01 file · +1 −0Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/linux/mroute6.h+1−0
@@ -4,6 +4,7 @@ · 3 unmodified lines
4#include <linux/kernel.h>4#include <linux/kernel.h>
5#include <linux/types.h>5#include <linux/types.h>
6#include <linux/sockios.h>6#include <linux/sockios.h>
7#include <linux/in6.h> /* For struct sockaddr_in6. */
7 8
8/*9/*
9 * Based on the MROUTING 3.5 defines primarily to keep10 * Based on the MROUTING 3.5 defines primarily to keep