compile into nothing if not compat 50.

This commit is contained in:
christos 2009-01-21 16:12:20 +00:00
parent 1dbcf9a927
commit d3baa5ffd2
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: sysv_ipc_50.c,v 1.1 2009/01/19 19:39:41 christos Exp $ */
/* $NetBSD: sysv_ipc_50.c,v 1.2 2009/01/21 16:12:20 christos Exp $ */
/*-
* Copyright (c) 1998, 2007 The NetBSD Foundation, Inc.
@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: sysv_ipc_50.c,v 1.1 2009/01/19 19:39:41 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: sysv_ipc_50.c,v 1.2 2009/01/21 16:12:20 christos Exp $");
#ifdef _KERNEL_OPT
#include "opt_sysv.h"
@ -69,7 +69,6 @@ __KERNEL_RCSID(0, "$NetBSD: sysv_ipc_50.c,v 1.1 2009/01/19 19:39:41 christos Exp
#ifdef SYSVSHM
#include <compat/sys/shm.h>
#endif
#endif
/*
* Check for ipc permission
@ -214,3 +213,4 @@ sysctl_kern_sysvipc50(SYSCTLFN_ARGS)
free(bf, M_TEMP);
return error;
}
#endif