Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/linux32/common Fix build without sysvipc configur...
details: https://anonhg.NetBSD.org/src/rev/7dafefffbf1f
branches: trunk
changeset: 755240:7dafefffbf1f
user: dholland <dholland%NetBSD.org@localhost>
date: Sat May 29 18:55:34 2010 +0000
description:
Fix build without sysvipc configured, from Wolfgang Stukenbrock in PR 43376,
adjusted for current.
diffstat:
sys/compat/linux32/common/linux32_ipccall.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (34 lines):
diff -r 29217216d3a7 -r 7dafefffbf1f sys/compat/linux32/common/linux32_ipccall.c
--- a/sys/compat/linux32/common/linux32_ipccall.c Sat May 29 17:45:15 2010 +0000
+++ b/sys/compat/linux32/common/linux32_ipccall.c Sat May 29 18:55:34 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux32_ipccall.c,v 1.10 2010/01/05 13:22:41 mbalmer Exp $ */
+/* $NetBSD: linux32_ipccall.c,v 1.11 2010/05/29 18:55:34 dholland Exp $ */
/*
* Copyright (c) 2008 Nicolas Joly
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux32_ipccall.c,v 1.10 2010/01/05 13:22:41 mbalmer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux32_ipccall.c,v 1.11 2010/05/29 18:55:34 dholland Exp $");
#if defined(_KERNEL_OPT)
#include "opt_sysv.h"
@@ -160,6 +160,7 @@
}
+#if defined(SYSVSEM) || defined (SYSVMSG) || defined(SYSVSHM)
static void
bsd_to_linux32_ipc_perm(struct ipc_perm *bpp, struct linux32_ipc_perm *lpp)
{
@@ -207,6 +208,7 @@
bpp->mode = lpp->l_mode;
bpp->_seq = lpp->l_seq;
}
+#endif /* SYSVSEM, SYSVMSG, or SYSVSHM */
#ifdef SYSVSEM
static void
Home |
Main Index |
Thread Index |
Old Index