]> git.ipfire.org Git - thirdparty/iproute2.git/commit
utils.h: provide fallback CLOCK_TAI definition
authorPeter Korsgaard <peter@korsgaard.com>
Sat, 27 Oct 2018 15:31:02 +0000 (17:31 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 29 Oct 2018 16:54:52 +0000 (09:54 -0700)
commitf900a21611c03e6d83104f2a862cd4c5f160d35f
treeb2a5e0196fbb6e8ea281d8083c60e9999d1eb466
parent6e221408e631414cf969f961d0d08f571fc7d0ac
utils.h: provide fallback CLOCK_TAI definition

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.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
include/utils.h