]> git.proxmox.com Git - mirror_iproute2.git/commit
ss: fix compilation under glibc < 2.18
authorThomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Wed, 20 Feb 2019 14:41:51 +0000 (15:41 +0100)
committerStephen Hemminger <stephen@networkplumber.org>
Thu, 21 Feb 2019 22:40:52 +0000 (14:40 -0800)
commit9700927a008a803ac119bdf816bdc1baa69d705c
treef0623eec9acb9febaa3c75e92dab14ff841763c3
parent6f618a6a82a9b4cabec9aa5589e36efba339fd38
ss: fix compilation under glibc < 2.18

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 Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
misc/ss.c