summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormike <mike@FreeBSD.org>2003-03-19 15:20:02 +0000
committermike <mike@FreeBSD.org>2003-03-19 15:20:02 +0000
commitf71f6d64246685c24ca8fd58f93e5f759f17f7bf (patch)
tree88a5219394760d3b7c06d08c141f9aee4313a29b /sys
parent72ab05df5afd6bc404e885df41d81fbfa657e267 (diff)
downloadFreeBSD-src-f71f6d64246685c24ca8fd58f93e5f759f17f7bf.zip
FreeBSD-src-f71f6d64246685c24ca8fd58f93e5f759f17f7bf.tar.gz
Update some more namespaces (forgotten in the previous revision).
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/stat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/stat.h b/sys/sys/stat.h
index f381ddc..d2e8dfb 100644
--- a/sys/sys/stat.h
+++ b/sys/sys/stat.h
@@ -87,7 +87,7 @@ typedef __uid_t uid_t;
#define _UID_T_DECLARED
#endif
-#if !defined(_KERNEL) && !defined(_POSIX_SOURCE)
+#if !defined(_KERNEL) && __BSD_VISIBLE
/*
* XXX we need this for struct timespec. We get miscellaneous namespace
* pollution with it.
@@ -95,7 +95,7 @@ typedef __uid_t uid_t;
#include <sys/time.h>
#endif
-#ifdef _POSIX_SOURCE
+#ifndef __BSD_VISIBLE
#include <sys/_timespec.h>
#endif
OpenPOWER on IntegriCloud