Source-Changes-HG archive

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

[src/trunk]: src/sys/sys If not kernel, include <stdbool.h>



details:   https://anonhg.NetBSD.org/src/rev/e402834925ec
branches:  trunk
changeset: 771651:e402834925ec
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Nov 27 10:31:12 2011 +0000

description:
If not kernel, include <stdbool.h>

diffstat:

 sys/sys/systm.h |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 8dd714d144ac -r e402834925ec sys/sys/systm.h
--- a/sys/sys/systm.h   Sun Nov 27 09:24:34 2011 +0000
+++ b/sys/sys/systm.h   Sun Nov 27 10:31:12 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: systm.h,v 1.254 2011/11/27 03:52:38 jakllsch Exp $     */
+/*     $NetBSD: systm.h,v 1.255 2011/11/27 10:31:12 martin Exp $       */
 
 /*-
  * Copyright (c) 1982, 1988, 1991, 1993
@@ -43,6 +43,9 @@
 #include "opt_ddb.h"
 #include "opt_multiprocessor.h"
 #endif
+#ifndef _KERNEL
+#include <stdbool.h>
+#endif
 
 #include <machine/endian.h>
 



Home | Main Index | Thread Index | Old Index