* [PATCH] compat.h: Add SO_IP_SET for older distros.
@ 2016-03-12 0:30 Vinson Lee
0 siblings, 0 replies; only message in thread
From: Vinson Lee @ 2016-03-12 0:30 UTC (permalink / raw)
To: trinity
CC net/proto-ipv4.o
net/proto-ipv4.c:223:12: error: ‘SO_IP_SET’ undeclared here (not in a function)
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
---
include/compat.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/include/compat.h b/include/compat.h
index 367fed6..559d90e 100644
--- a/include/compat.h
+++ b/include/compat.h
@@ -1102,3 +1102,8 @@ struct kvm_get_htab_fd {
#ifndef SHM_NORESERVE
# define SHM_NORESERVE 010000
#endif
+
+/* netfilter/ipset/ipset.h */
+#ifndef SO_IP_SET
+#define SO_IP_SET 83
+#endif
--
1.7.9.5
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-03-12 0:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-12 0:30 [PATCH] compat.h: Add SO_IP_SET for older distros Vinson Lee
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).