[LTP] [RFC PATCH v2 0/3] Fix old toolchain (< v3.14)

Petr Vorel
2021-09-30T18:31:57Z

Hi,

NOTE: this fix (3rd commit) is needed obviously due very old toolchain
(sourcery-arm from Buildroot). I suppose it's still used, but can
anybody from Buildroot confirm this?

Kind regards,
Petr

changes v1->v2:
* fixing moving IFA_FLAGS from lapi/rtnetlink.h to lapi/if_addr.h
(it was by accident done in 2 commits)
* new commit tst_netdevice.c: Drop redundant include

Petr Vorel (3):
tst_netdevice.c: Drop redundant include
lapi: Create if_addr.h and reuse it in rtnetlink.h
lapi/if_addr.h: Define IFA_FLAGS

include/lapi/if_addr.h | 19 +++++++++++++++++++
include/lapi/rtnetlink.h | 5 +----
lib/tst_netdevice.c | 1 -
testcases/cve/icmp_rate_limit01.c | 3 ++-
4 files changed, 22 insertions(+), 6 deletions(-)
create mode 100644 include/lapi/if_addr.h

--
2.33.0