Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys Make it self-contained (add missing stdbool.h includ...
details: https://anonhg.NetBSD.org/src/rev/47818e6a6ded
branches: trunk
changeset: 764734:47818e6a6ded
user: martin <martin%NetBSD.org@localhost>
date: Mon May 02 08:26:32 2011 +0000
description:
Make it self-contained (add missing stdbool.h include when used for libkvm)
diffstat:
sys/sys/pcu.h | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 8a92f3caa5c6 -r 47818e6a6ded sys/sys/pcu.h
--- a/sys/sys/pcu.h Mon May 02 08:11:41 2011 +0000
+++ b/sys/sys/pcu.h Mon May 02 08:26:32 2011 +0000
@@ -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.
*/
Home |
Main Index |
Thread Index |
Old Index