summaryrefslogtreecommitdiff
path: root/src/basic/missing.h
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@googlemail.com>2015-10-16 13:05:39 +0200
committerDavid Herrmann <dh.herrmann@googlemail.com>2015-10-16 13:05:39 +0200
commit7a1e5abbc6e741e5b6995288c607522faa69c8b4 (patch)
tree2fd03f08cb9aa275e1846c1aa9e24aa8ec615e3d /src/basic/missing.h
parent8ee07361d0065a2d4ab9c4bf6aeb0893b05b2b6c (diff)
parent9c5a882b7fc256ddc0b227677fa06546f0e944a8 (diff)
Merge pull request #1581 from teg/netlink-broadcast-leave
sd-netlink: refcount multicast groups
Diffstat (limited to 'src/basic/missing.h')
-rw-r--r--src/basic/missing.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/basic/missing.h b/src/basic/missing.h
index 59e835a466..5fb9951a84 100644
--- a/src/basic/missing.h
+++ b/src/basic/missing.h
@@ -126,6 +126,10 @@
#define SOL_NETLINK 270
#endif
+#ifndef NETLINK_LIST_MEMBERSHIPS
+#define NETLINK_LIST_MEMBERSHIPS 9
+#endif
+
#if !HAVE_DECL_PIVOT_ROOT
static inline int pivot_root(const char *new_root, const char *put_old) {
return syscall(SYS_pivot_root, new_root, put_old);