iproute2: fix build on glibc < 2.21 / uClibc
authorPeter Korsgaard <peter@korsgaard.com>
Sat, 27 Oct 2018 15:45:38 +0000 (17:45 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 27 Oct 2018 20:58:22 +0000 (22:58 +0200)
commit1d9fe18e97d98ba30998a11a3626c8851dd0ec2b
treeb0de6180b3d12679dfabf7c158c8e38e818aaae8
parent2c0a2c7a3da443b2ed874f3147117d5679c8dd2d
iproute2: fix build on glibc < 2.21 / uClibc

Fixes:
http://autobuild.buildroot.net/results/fc9/fc99b1ad49080f552ce611d5a7a2f9fe171b5a2c/
http://autobuild.buildroot.net/results/5f7/5f74c258a3adafa5aecd4abc378eef0573143764/

q_{etf,taprio}.c uses CLOCK_TAI, which isn't exposed by glibc < 2.21 or
uClibc, breaking the build. Provide a fallback definition like it is done
for IPPROTO_MPLS and others.

Patch submitted upstream:
https://lwn.net/ml/netdev/20181027153102.32302-1-peter%40korsgaard.com/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/iproute2/0001-utils.h-provide-fallback-CLOCK_TAI-definition.patch [new file with mode: 0644]