[PATCH v05 24/72] include/uapi/linux/ipv6_route.h: include linux/in6.h

From: Mikko Rapeli
Date: Mon Aug 22 2016 - 15:22:19 EST


Fixes userspace compile errors like:

error: field ârtmsg_dstâ has incomplete type
struct in6_addr rtmsg_dst;

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

diff --git a/include/uapi/linux/ipv6_route.h b/include/uapi/linux/ipv6_route.h
index f6598d1..25ab362 100644
--- a/include/uapi/linux/ipv6_route.h
+++ b/include/uapi/linux/ipv6_route.h
@@ -14,6 +14,7 @@
#define _UAPI_LINUX_IPV6_ROUTE_H

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

#define RTF_DEFAULT 0x00010000 /* default - learned via ND */
#define RTF_ALLONLINK 0x00020000 /* (deprecated and will be removed)
--
2.8.1