From 2eaac5489b54d4e31f9c74311f8acef0a607d43e Mon Sep 17 00:00:00 2001 From: Andreas Henriksson Date: Sun, 24 Aug 2014 18:04:44 +0200 Subject: [PATCH] ipcrm: add hacks to avoid FTBFS Signed-off-by: Andreas Henriksson --- sys-utils/ipcrm.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sys-utils/ipcrm.c b/sys-utils/ipcrm.c index aa58172d8e..6443f48fb2 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.47.2