Re: [PATCH iproute2] ss: fix compilation under glibc < 2.18

2019-02-20 Thread Thomas De Schampheleire
El jue., 21 feb. 2019 a las 2:53, Stephen Hemminger () escribió: > > On Wed, 20 Feb 2019 15:41:51 +0100 > Thomas De Schampheleire wrote: > > > From: Thomas De Schampheleire > > > > Commit c759116a0b2b6da8df9687b0a40ac69050132c77 introduced support for > > AF

[PATCH iproute2] ss: fix compilation under glibc < 2.18

2019-02-20 Thread Thomas De Schampheleire
From: Thomas De Schampheleire Commit c759116a0b2b6da8df9687b0a40ac69050132c77 introduced support for AF_VSOCK. This define is only provided since glibc version 2.18, so compilation fails when using older toolchains. Provide the necessary definitions if needed. Signed-off-by: Thomas De

Re: [PATCH iproute2] Fix compilation with kernel headers < 3.4

2018-02-27 Thread Thomas De Schampheleire
l > headers to fix compilation in such cases. > > Co-Developed-by: Serhii Popovych > Signed-off-by: Thomas De Schampheleire > Signed-off-by: Serhey Popovych > --- > include/linux/sysinfo.h | 14 ++ > misc/ss.c | 10 ++ > 2 file

Re: [PATCH iproute2] Fix compilation with kernel headers < 3.4

2018-02-26 Thread Thomas De Schampheleire
l > headers to fix compilation in such cases. > > Co-Developed-by: Serhii Popovych > Signed-off-by: Thomas De Schampheleire > Signed-off-by: Serhey Popovych > --- > include/linux/sysinfo.h | 14 ++ > misc/ss.c | 10 ++ > 2 file

Re: [PATCH iproute2] Fix compilation with kernel headers < 3.4

2018-02-26 Thread Thomas De Schampheleire
On Mon, Feb 26, 2018 at 10:58:10AM -0800, Stephen Hemminger wrote: > On Mon, 26 Feb 2018 19:51:12 +0100 > Thomas De Schampheleire wrote: > > > Since commit 596b1c94aa38e21b7a8c8562e8b61ccb744255d2, iproute2 uses types > > __kernel_long_t and __kernel_ulong_t but does

[PATCH iproute2] Fix compilation with kernel headers < 3.4

2018-02-26 Thread Thomas De Schampheleire
be uncommon for native compilation, but not uncommon for cross compilation where the toolchains may be a bit older. Provide the necessary types internally if not provided by the kernel headers to fix compilation in such cases. Signed-off-by: Thomas De Schampheleire --- include/uapi/linux