summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2006-05-23 20:34:23 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2006-05-23 20:34:23 +0000
commitda76193ff749a28c431beec7fbbfa845918a4e5b (patch)
treeed6a83ca806e0b0e871b4150e96936754d23881c /sys
parent83da5643af6d80f0ced6c38d9e83edd7ad857a0a (diff)
Compile if no option SYSVMSG.
Diffstat (limited to 'sys')
-rw-r--r--sys/compat/svr4/svr4_misc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/compat/svr4/svr4_misc.c b/sys/compat/svr4/svr4_misc.c
index 4ff7d6c653f..287e0a4a8f3 100644
--- a/sys/compat/svr4/svr4_misc.c
+++ b/sys/compat/svr4/svr4_misc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: svr4_misc.c,v 1.45 2006/03/05 21:48:56 miod Exp $ */
+/* $OpenBSD: svr4_misc.c,v 1.46 2006/05/23 20:34:22 miod Exp $ */
/* $NetBSD: svr4_misc.c,v 1.42 1996/12/06 03:22:34 christos Exp $ */
/*
@@ -562,9 +562,11 @@ svr4_sys_sysconfig(p, v, retval)
case SVR4_CONFIG_DELAYTIMER_MAX:
*retval = 0; /* No delaytimer support */
break;
+#ifdef SYSVMSG
case SVR4_CONFIG_MQ_OPEN_MAX:
*retval = msginfo.msgmni;
break;
+#endif
case SVR4_CONFIG_MQ_PRIO_MAX:
*retval = 0; /* XXX: Don't know */
break;