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/884fe851bffe
branches:  trunk
changeset: 973680:884fe851bffe
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 cfc811fab636 -r 884fe851bffe 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