From 4a16c676d76349ffc46804457e1be16a5be9d009 Mon Sep 17 00:00:00 2001 From: christos Date: Wed, 21 Apr 2004 02:21:49 +0000 Subject: [PATCH] Add a define for VFS_MAXFIDSIZE --- sys/sys/fstypes.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sys/sys/fstypes.h b/sys/sys/fstypes.h index b2fcd2c94d0d..6da5a015a7c0 100644 --- a/sys/sys/fstypes.h +++ b/sys/sys/fstypes.h @@ -1,4 +1,4 @@ -/* $NetBSD: fstypes.h,v 1.1 2004/04/21 01:05:43 christos Exp $ */ +/* $NetBSD: fstypes.h,v 1.2 2004/04/21 02:21:49 christos Exp $ */ /* * Copyright (c) 1989, 1991, 1993 @@ -48,6 +48,10 @@ struct fid { char fid_data[_VFS_MAXFIDSZ];/* data (variable length) */ }; +#if defined(_NETBSD_SOURCE) +#define VFS_MAXFIDSZ _VFS_MAXFIDSZ +#endif + /* * Generic file handle */