Addition of header files for sysctl set function prototypes referenced

structs defined in other header files.  Gcc 2.95 on vax doesn't like this.
Add appropriate header files to fix vax compile failures.
This commit is contained in:
mhitch 2004-05-25 01:36:37 +00:00
parent 75457d3bb1
commit 4c9aff16f0
2 changed files with 8 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: lkminit_vfs.c,v 1.6 2004/05/20 06:34:28 atatat Exp $ */
/* $NetBSD: lkminit_vfs.c,v 1.7 2004/05/25 01:36:37 mhitch Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: lkminit_vfs.c,v 1.6 2004/05/20 06:34:28 atatat Exp $");
__KERNEL_RCSID(0, "$NetBSD: lkminit_vfs.c,v 1.7 2004/05/25 01:36:37 mhitch Exp $");
#include <sys/param.h>
#include <sys/sysctl.h>
@ -49,6 +49,7 @@ __KERNEL_RCSID(0, "$NetBSD: lkminit_vfs.c,v 1.6 2004/05/20 06:34:28 atatat Exp $
#include <sys/lkm.h>
#include <sys/file.h>
#include <sys/errno.h>
#include <sys/namei.h>
#include <fs/union/union.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: lkminit_vfs.c,v 1.2 2004/05/20 06:34:29 atatat Exp $ */
/* $NetBSD: lkminit_vfs.c,v 1.3 2004/05/25 01:36:37 mhitch Exp $ */
/*-
* Copyright (c) 2003 The NetBSD Foundation, Inc.
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: lkminit_vfs.c,v 1.2 2004/05/20 06:34:29 atatat Exp $");
__KERNEL_RCSID(0, "$NetBSD: lkminit_vfs.c,v 1.3 2004/05/25 01:36:37 mhitch Exp $");
#include <sys/param.h>
#include <sys/sysctl.h>
@ -50,6 +50,9 @@ __KERNEL_RCSID(0, "$NetBSD: lkminit_vfs.c,v 1.2 2004/05/20 06:34:29 atatat Exp $
#include <sys/file.h>
#include <sys/errno.h>
#include <netsmb/smb.h>
#include <netsmb/smb_conn.h>
#include <fs/smbfs/smbfs_subr.h>
int smbfs_lkmentry __P((struct lkm_table *, int, int));