History

uapi: fix linux/ipv6_route.h userspace compilation errors

Include <linux/in6.h> to fix the following linux/ipv6_route.h userspace compilation errors: /usr/include/linux/ipv6_route.h:42:19: error: field 'rtmsg_dst' has incomplete type struct in6_addr rtmsg_dst; /usr/include/linux/ipv6_route.h:43:19: error: field 'rtmsg_src' has incomplete type struct in6_addr rtmsg_src; /ust/include/linux/ipv6_route.h:44:19: error: field 'rtmsg_gateway' has incomplete type struct in6_addr rtmsg_gateway;

Dmitry V. Levin committed 9 years ago

Commit 6c07ec01 parent 249168a1 file · +1 −0Browse files

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

Unified · Split

include/uapi/linux/ipv6_route.h+1−0
@@ -14,6 +14,7 @@ · 13 unmodified lines
1414 #define _UAPI_LINUX_IPV6_ROUTE_H
1515
1616 #include <linux/types.h>
17+#include <linux/in6.h> /* For struct in6_addr. */
1718
1819 #define RTF_DEFAULT 0x00010000 /* default - learned via ND */
1920 #define RTF_ALLONLINK 0x00020000 /* (deprecated and will be removed)