Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/fsck_lfs this file uses the <sys/queue.h> macros so it ...



details:   https://anonhg.NetBSD.org/src/rev/2d6936b66c4b
branches:  trunk
changeset: 354264:2d6936b66c4b
user:      chs <chs%NetBSD.org@localhost>
date:      Fri Jun 09 00:13:08 2017 +0000

description:
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.

diffstat:

 sbin/fsck_lfs/vnode.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r f5a8aff3023e -r 2d6936b66c4b sbin/fsck_lfs/vnode.h
--- a/sbin/fsck_lfs/vnode.h     Thu Jun 08 22:29:59 2017 +0000
+++ b/sbin/fsck_lfs/vnode.h     Fri Jun 09 00:13:08 2017 +0000
@@ -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 */
 



Home | Main Index | Thread Index | Old Index