iproute2: fix build on glibc < 2.21 / uClibc
Subsystems (2)
Petr Vorel
Reviewed-bySubject: [iproute] utils.h: provide fallback CLOCK_TAI definition
In-Reply-To: <[email protected]>
To: Stephen Hemminger <[email protected]>,
Vinicius Costa Gomes <[email protected]>
Cc: [email protected], Peter Korsgaard <[email protected]>
From: Petr Vorel <[email protected]>
List-Id: <netdev.vger.kernel.org>
Quoted 5 lines
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 forIPPROTO_MPLSand others.Signed-off-by Peter Korsgaard <[email protected]>
Reviewed-by Petr Vorel <[email protected]>
Quoted 3 lines
--- include/utils.h | 4 ++++ 1 file changed, 4 insertions(+)
Kind regards,
Petr