From: Andreas Henriksson <andreas@fatal.se>
To: util-linux@vger.kernel.org
Cc: Andreas Henriksson <andreas@fatal.se>
Subject: [PATCH 4/4] kFreeBSD: add hacks in ipcrm to avoid FTBFS
Date: Sun, 24 Aug 2014 18:04:44 +0200 [thread overview]
Message-ID: <1408896284-14467-5-git-send-email-andreas@fatal.se> (raw)
In-Reply-To: <1408896284-14467-1-git-send-email-andreas@fatal.se>
Signed-off-by: Andreas Henriksson <andreas@fatal.se>
---
sys-utils/ipcrm.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/sys-utils/ipcrm.c b/sys-utils/ipcrm.c
index aa58172..6443f48 100644
--- a/sys-utils/ipcrm.c
+++ b/sys-utils/ipcrm.c
@@ -271,6 +271,13 @@ static int remove_all(type_id type)
ret |= remove_id(SEM, 0, rm_me);
}
}
+/* kFreeBSD hackery -- ah 20140723 */
+#ifndef MSG_STAT
+#define MSG_STAT 11
+#endif
+#ifndef MSG_INFO
+#define MSG_INFO 12
+#endif
if (type == MSG || type == ALL) {
maxid =
msgctl(0, MSG_INFO, (struct msqid_ds *)(void *)&msginfo);
--
2.1.0.rc1
next prev parent reply other threads:[~2014-08-24 16:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-24 16:04 [PATCH 0/4] Patches for kFreeBSD support from Debian Andreas Henriksson
2014-08-24 16:04 ` [PATCH 1/4] Report correct disk size on GNU/kFreeBSD. Thanks Tuco Andreas Henriksson
2014-08-24 16:04 ` [PATCH 2/4] remaining kFreeBSD hackery for building Andreas Henriksson
2014-08-24 16:04 ` [PATCH 3/4] Fixing FTBFS on !linux (Debian util-linux 2.20.1-1.2) Andreas Henriksson
2014-08-24 16:04 ` Andreas Henriksson [this message]
2014-09-17 9:00 ` [PATCH 0/4] Patches for kFreeBSD support from Debian Karel Zak
2014-09-17 14:43 ` Andreas Henriksson
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=1408896284-14467-5-git-send-email-andreas@fatal.se \
--to=andreas@fatal.se \
--cc=util-linux@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.