]> granicus.if.org Git - strace/commit
netlink: provide a fallback definition of NETLINK_SOCK_DIAG
authorDmitry V. Levin <ldv@altlinux.org>
Sat, 24 Jun 2017 22:25:28 +0000 (22:25 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sat, 24 Jun 2017 22:25:28 +0000 (22:25 +0000)
commitfd68eabd59b714861be37d8809cf79016fcb81a0
tree554767d6736ee00cfc87084931f58e93b919ef8d
parent4ec744efce95dc6b4974dc0765ccb7ea37303c85
netlink: provide a fallback definition of NETLINK_SOCK_DIAG

Add a fallback definition of NETLINK_SOCK_DIAG to netlink.h
instead of adding these fallback definitions to every file.

* netlink.h: Provide a fallback definition of NETLINK_SOCK_DIAG.
* socketutils.c: Include "netlink.h" instead of <linux/netlink.h>,
remove fallback definition of NETLINK_SOCK_DIAG.
netlink.h
socketutils.c