]> git.ipfire.org Git - thirdparty/strongswan.git/commit
kernel-netlink: Define SOL_NETLINK for old versions of socket.h
authorTobias Brunner <tobias@strongswan.org>
Mon, 9 Jan 2023 15:57:53 +0000 (16:57 +0100)
committerTobias Brunner <tobias@strongswan.org>
Tue, 10 Jan 2023 15:34:07 +0000 (16:34 +0100)
commit41b0dff92b349d11e0db3b04751267c5d3ffe42a
tree30a0fd8b045fc1814ad460da2ef0141fdfa74a7a
parent7dbe7022690ea59a3a1ecb7e298af53b7833e09e
kernel-netlink: Define SOL_NETLINK for old versions of socket.h

While the kernel defines it since 2005 (2.6.14), some older versions of
socket.h shipped with C libraries might not.  In particular, glibc only
added it with 2.24 in 2016.

Closes strongswan/strongswan#1503
src/libcharon/plugins/kernel_netlink/kernel_netlink_shared.c