Source-Changes-HG archive

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

[src/trunk]: src/sys/sys Uses MAXCPUS from sys/param.h; include that explicit...



details:   https://anonhg.NetBSD.org/src/rev/2fb63afa1ef0
branches:  trunk
changeset: 755264:2fb63afa1ef0
user:      dholland <dholland%NetBSD.org@localhost>
date:      Sun May 30 02:28:13 2010 +0000

description:
Uses MAXCPUS from sys/param.h; include that explicitly instead of by
accident.

diffstat:

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

diffs (17 lines):

diff -r 18237bc1d0a9 -r 2fb63afa1ef0 sys/sys/pool.h
--- a/sys/sys/pool.h    Sun May 30 02:26:37 2010 +0000
+++ b/sys/sys/pool.h    Sun May 30 02:28:13 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pool.h,v 1.68 2009/12/30 18:57:16 elad Exp $   */
+/*     $NetBSD: pool.h,v 1.69 2010/05/30 02:28:13 dholland Exp $       */
 
 /*-
  * Copyright (c) 1997, 1998, 1999, 2000, 2007 The NetBSD Foundation, Inc.
@@ -42,6 +42,7 @@
 #endif
 
 #ifdef __POOL_EXPOSE
+#include <sys/param.h>
 #include <sys/mutex.h>
 #include <sys/condvar.h>
 #include <sys/queue.h>



Home | Main Index | Thread Index | Old Index