summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys/time.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/sys/time.h')
-rw-r--r--usr/src/uts/common/sys/time.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr/src/uts/common/sys/time.h b/usr/src/uts/common/sys/time.h
index ab74c47d5f..ffc2c7dcfb 100644
--- a/usr/src/uts/common/sys/time.h
+++ b/usr/src/uts/common/sys/time.h
@@ -9,7 +9,7 @@
*/
/*
- * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -411,7 +411,8 @@ int gettimeofday();
* non-X/Open applications, including this header will still make
* visible these definitions.
*/
-#if !defined(_KERNEL) && !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__)
+#if !defined(_BOOT) && !defined(_KERNEL) && \
+ !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__)
#include <time.h>
#endif