On Wed, Aug 09, 2017 at 10:14:08AM +0800, JingPiao Chen wrote: [...] > diff --git a/rtnl_link.c b/rtnl_link.c > new file mode 100644 > index 0000000..876baff > --- /dev/null > +++ b/rtnl_link.c [...] > +#include "defs.h" > +#include "netlink_route.h" > +#include "print_fields.h" > + > +#include <linux/rtnetlink.h>
Reminder: <sys/socket.h> has to be included before <linux/netlink.h> because the latter used to be incomplete in older kernel headers. We introduced netlink.h wrapper to workaround this and related portability issues, please do not forget to include it instead of <linux/netlink.h> and before any linux netlink header file. -- ldv
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ Strace-devel mailing list Strace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/strace-devel