Module Name: src
Committed By: tsutsui
Date: Mon Mar 30 09:51:37 UTC 2009
Modified Files:
src/sys/arch/x86/include: cpu.h
Log Message:
#include <sys/types.h>, not <stdbool.h> for userland
in defined(_STANDALONE) case too.
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/x86/include/cpu.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/arch/x86/include/cpu.h
diff -u src/sys/arch/x86/include/cpu.h:1.13 src/sys/arch/x86/include/cpu.h:1.14
--- src/sys/arch/x86/include/cpu.h:1.13 Sat Mar 28 21:34:17 2009
+++ src/sys/arch/x86/include/cpu.h Mon Mar 30 09:51:37 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.h,v 1.13 2009/03/28 21:34:17 rmind Exp $ */
+/* $NetBSD: cpu.h,v 1.14 2009/03/30 09:51:37 tsutsui Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -400,11 +400,11 @@
#endif /* _KERNEL || __KMEMUSER */
-#if defined(_KERNEL)
+#if defined(_KERNEL) || defined(_STANDALONE)
#include <sys/types.h>
#else
#include <stdbool.h>
-#endif /* _KERNEL */
+#endif /* _KERNEL || _STANDALONE */
/*
* CTL_MACHDEP definitions.