From: Dmitry V. Levin Date: Wed, 9 Aug 2017 13:24:13 +0000 (+0000) Subject: rtnl_link: include "netlink.h" before X-Git-Tag: v4.19~158 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c81ad544aeaa3c1db8d9f177bf1e71c3eb51571f;p=strace rtnl_link: include "netlink.h" before has to be included before because the latter used to be incomplete in older kernel headers. As a local wrapper file called netlink.h was introduced earlier to workaround this and related portability issues, include it before that in turn includes . This fixes build on systems with older kernel headers. * rtnl_link.c: Include "netlink.h" before . --- diff --git a/rtnl_link.c b/rtnl_link.c index 876baffe..d1e9bb88 100644 --- a/rtnl_link.c +++ b/rtnl_link.c @@ -31,6 +31,7 @@ #include "netlink_route.h" #include "print_fields.h" +#include "netlink.h" #include DECL_NETLINK_ROUTE_DECODER(decode_ifinfomsg)