commit | d9f7e7a4392a5fb38b3c60825fedddb28f30572f | [log] [tgz] |
---|---|---|
author | Dmitry V. Levin <ldv@altlinux.org> | Fri Jan 09 03:03:39 2015 +0000 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Fri Jan 09 03:05:56 2015 +0000 |
tree | c28b6e0a6f2eefbfe1f103d49a128d1f12dc57d0 | |
parent | 75d62047ad2abf5c2509567aeb9c241c04acbfe6 [diff] |
Fix build on systems that lack NETLINK_SOCK_DIAG definition NETLINK_INET_DIAG was introduced in linux v2.6.14, NETLINK_SOCK_DIAG was added much later in linux v3.3. * net.c [!NETLINK_SOCK_DIAG && NETLINK_INET_DIAG] (NETLINK_SOCK_DIAG): Define. * socketutils.c: Likewise. * tests/netlink_unix_diag.c: Likewise.