From mboxrd@z Thu Jan 1 00:00:00 1970 From: Petr Vorel Subject: Re: iproute2: fix build on glibc < 2.21 / uClibc Date: Sun, 28 Oct 2018 11:16:15 +0100 Message-ID: <20181028101614.GB4328@x230> Reply-To: Petr Vorel Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: netdev@vger.kernel.org Return-path: Received: from mail-wr1-f45.google.com ([209.85.221.45]:33595 "EHLO mail-wr1-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726556AbeJ1TAd (ORCPT ); Sun, 28 Oct 2018 15:00:33 -0400 Received: by mail-wr1-f45.google.com with SMTP id u1-v6so5526954wrn.0 for ; Sun, 28 Oct 2018 03:16:19 -0700 (PDT) Received: from x230 ([62.201.25.198]) by smtp.gmail.com with ESMTPSA id u76-v6sm11462329wmd.10.2018.10.28.03.16.17 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 28 Oct 2018 03:16:17 -0700 (PDT) Content-Disposition: inline Sender: netdev-owner@vger.kernel.org List-ID: Subject: [iproute] utils.h: provide fallback CLOCK_TAI definition In-Reply-To: <20181027153102.32302-1-peter@korsgaard.com> To: Stephen Hemminger , Vinicius Costa Gomes Cc: netdev@vger.kernel.org, Peter Korsgaard From: Petr Vorel List-Id: > 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 Reviewed-by: Petr Vorel > --- > include/utils.h | 4 ++++ > 1 file changed, 4 insertions(+) Kind regards, Petr