this file uses the <sys/queue.h> macros so it should include

that header itself, rather than relying on getting it indirectly
by including some other header.
This commit is contained in:
chs 2017-06-09 00:13:08 +00:00
parent 8a74c90b10
commit 8903716be3
1 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: vnode.h,v 1.4 2008/04/28 20:23:08 martin Exp $ */
/* $NetBSD: vnode.h,v 1.5 2017/06/09 00:13:08 chs Exp $ */
/*-
* Copyright (c) 2003 The NetBSD Foundation, Inc.
* All rights reserved.
@ -28,6 +28,8 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/queue.h>
#define VNODE_HASH_MAX 1024 /* Must be a PO2 */
#define VNODE_CACHE_SIZE 1024 /* Need not be a PO2 */