Module Name:    src
Committed By:   martin
Date:           Tue Feb 18 12:23:07 UTC 2014

Modified Files:
        src/common/lib/libc/atomic: atomic_cas_64_cas.c

Log Message:
Do not include <stdbool.h> in the kernel


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/common/lib/libc/atomic/atomic_cas_64_cas.c

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

Modified files:

Index: src/common/lib/libc/atomic/atomic_cas_64_cas.c
diff -u src/common/lib/libc/atomic/atomic_cas_64_cas.c:1.1 src/common/lib/libc/atomic/atomic_cas_64_cas.c:1.2
--- src/common/lib/libc/atomic/atomic_cas_64_cas.c:1.1	Tue Feb 18 10:16:55 2014
+++ src/common/lib/libc/atomic/atomic_cas_64_cas.c	Tue Feb 18 12:23:07 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: atomic_cas_64_cas.c,v 1.1 2014/02/18 10:16:55 martin Exp $	*/
+/*	$NetBSD: atomic_cas_64_cas.c,v 1.2 2014/02/18 12:23:07 martin Exp $	*/
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -29,7 +29,9 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
+#if !defined(_KERNEL) && !defined(_STANDALONE)
 #include <stdbool.h>
+#endif
 #include <sys/atomic.h>
 
 #ifdef __HAVE_ATOMIC64_OPS

Reply via email to