Source-Changes-HG archive

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

[src/trunk]: src/sys/sys Explicitly include <sys/pool.h> here; don't rely on ...



details:   https://anonhg.NetBSD.org/src/rev/b859fa28b658
branches:  trunk
changeset: 1011715:b859fa28b658
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Tue Jul 07 03:23:33 2020 +0000

description:
Explicitly include <sys/pool.h> here; don't rely on it being included
by the includer.

diffstat:

 sys/sys/vmem_impl.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 740732a94c4f -r b859fa28b658 sys/sys/vmem_impl.h
--- a/sys/sys/vmem_impl.h       Tue Jul 07 02:39:59 2020 +0000
+++ b/sys/sys/vmem_impl.h       Tue Jul 07 03:23:33 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmem_impl.h,v 1.4 2020/04/19 21:11:42 ad Exp $ */
+/*     $NetBSD: vmem_impl.h,v 1.5 2020/07/07 03:23:33 thorpej Exp $    */
 
 /*-
  * Copyright (c)2006 YAMAMOTO Takashi,
@@ -37,6 +37,7 @@
 
 #if defined(_KERNEL)
 #define        QCACHE
+#include <sys/pool.h>
 #include <sys/vmem.h>
 
 #define        LOCK_DECL(name)         \



Home | Main Index | Thread Index | Old Index