Mon May 2 08:26:32 2011 UTC ()
Make it self-contained (add missing stdbool.h include when used for libkvm)


(martin)
diff -r1.6 -r1.7 src/sys/sys/pcu.h

cvs diff -r1.6 -r1.7 src/sys/sys/pcu.h (expand / switch to context diff)
--- src/sys/sys/pcu.h 2011/05/02 02:28:57 1.6
+++ src/sys/sys/pcu.h 2011/05/02 08:26:32 1.7
@@ -1,4 +1,4 @@
-/*	$NetBSD: pcu.h,v 1.6 2011/05/02 02:28:57 rmind Exp $	*/
+/*	$NetBSD: pcu.h,v 1.7 2011/05/02 08:26:32 martin Exp $	*/
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -34,6 +34,10 @@
 
 #if !defined(_KERNEL) && !defined(_KMEMUSER)
 #error "not supposed to be exposed to userland"
+#endif
+
+#ifndef _KERNEL
+#include <stdbool.h>
 #endif
 
 /*