[PATCH v4 41/79] include/uapi/linux/ipv6_route.h: include linux/in6.h

From: Mikko Rapeli
Date: Thu Oct 15 2015 - 02:02:28 EST


Fixes userspace compile errors like:

error: field âmf6cc_originâ has incomplete type
struct sockaddr_in6 mf6cc_origin; /* Origin of mcast */

Signed-off-by: Mikko Rapeli <mikko.rapeli@xxxxxx>
---
include/uapi/linux/mroute6.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/include/uapi/linux/mroute6.h b/include/uapi/linux/mroute6.h
index ce91215..5e17444 100644
--- a/include/uapi/linux/mroute6.h
+++ b/include/uapi/linux/mroute6.h
@@ -3,6 +3,7 @@

#include <linux/types.h>
#include <linux/sockios.h>
+#include <linux/in6.h>

/*
* Based on the MROUTING 3.5 defines primarily to keep
--
2.5.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/