Re: [PATCH net] net: Use __kernel_clockid_t in uapi net_stamp.h

2018-12-18 Thread David Miller
From: Davide Caratti Date: Mon, 17 Dec 2018 11:26:38 +0100 > 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 cloc

Re: [PATCH net] net: Use __kernel_clockid_t in uapi net_stamp.h

2018-12-17 Thread Paolo Abeni
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;

[PATCH net] net: Use __kernel_clockid_t in uapi net_stamp.h

2018-12-17 Thread Davide Caratti
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