From: Vinson Lee <vlee@freedesktop.org>
To: trinity@vger.kernel.org
Subject: [PATCH] compat.h: Add SO_IP_SET for older distros.
Date: Fri, 11 Mar 2016 16:30:03 -0800 [thread overview]
Message-ID: <1457742603-10978-1-git-send-email-vlee@freedesktop.org> (raw)
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
reply other threads:[~2016-03-12 0:30 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1457742603-10978-1-git-send-email-vlee@freedesktop.org \
--to=vlee@freedesktop.org \
--cc=trinity@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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 read-only IMAP folder(s) and NNTP newsgroup(s).