]> granicus.if.org Git - strace/blobdiff - netlink.h
netlink: provide a fallback definition of NETLINK_SOCK_DIAG
[strace] / netlink.h
index 63b1945cf8651e560c721cbd167b65d82ca6e527..5943229a55115acdda214c692009fa11a9ecf169 100644 (file)
--- a/netlink.h
+++ b/netlink.h
 #include <sys/socket.h>
 #include <linux/netlink.h>
 
+#ifndef NETLINK_SOCK_DIAG
+# define NETLINK_SOCK_DIAG 4
+#endif
+
 #undef NLMSG_HDRLEN
 #define NLMSG_HDRLEN ((unsigned int) NLMSG_ALIGN(sizeof(struct nlmsghdr)))