Module Name:    src
Committed By:   martin
Date:           Mon May  2 08:26:32 UTC 2011

Modified Files:
        src/sys/sys: pcu.h

Log Message:
Make it self-contained (add missing stdbool.h include when used for libkvm)


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/sys/pcu.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/sys/pcu.h
diff -u src/sys/sys/pcu.h:1.6 src/sys/sys/pcu.h:1.7
--- src/sys/sys/pcu.h:1.6	Mon May  2 02:28:57 2011
+++ src/sys/sys/pcu.h	Mon May  2 08:26:32 2011
@@ -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.
@@ -36,6 +36,10 @@
 #error "not supposed to be exposed to userland"
 #endif
 
+#ifndef _KERNEL
+#include <stdbool.h>
+#endif
+
 /*
  * Default: no PCU for MD.
  */

Reply via email to