[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3544e4578c20673869075d38b623ead15acaa2a0.camel@redhat.com>
Date: Mon, 17 Dec 2018 11:37:25 +0100
From: Paolo Abeni <pabeni@...hat.com>
To: Davide Caratti <dcaratti@...hat.com>,
Jesus Sanchez-Palencia <jesus.sanchez-palencia@...el.com>,
"David S. Miller" <davem@...emloft.net>,
Richard Cochran <rcochran@...utronix.de>,
netdev@...r.kernel.org
Cc: "Herton R . Krzesinski" <herton@...hat.com>
Subject: Re: [PATCH net] net: Use __kernel_clockid_t in uapi net_stamp.h
On Mon, 2018-12-17 at 11:26 +0100, Davide Caratti wrote:
> Herton reports the following error when building a userspace program that
> includes net_stamp.h:
>
> In file included from foo.c:2:
> /usr/include/linux/net_tstamp.h:158:2: error: unknown type name
> ‘clockid_t’
> clockid_t clockid; /* reference clockid */
> ^~~~~~~~~
>
> Fix it by using __kernel_clockid_t in place of clockid_t.
>
> Fixes: 80b14dee2bea ("net: Add a new socket option for a future transmit time.")
> Cc: Timothy Redaelli <tredaelli@...hat.com>
> Reported-by: Herton R. Krzesinski <herton@...hat.com>
> Signed-off-by: Davide Caratti <dcaratti@...hat.com>
Tested-by: Paolo Abeni <pabeni@...hat.com>
Powered by blists - more mailing lists