summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Barcroft <mike@FreeBSD.org>2003-03-19 15:20:02 +0000
committerMike Barcroft <mike@FreeBSD.org>2003-03-19 15:20:02 +0000
commit809484cd89da8926b933e334ea9201685555a2be (patch)
tree88a5219394760d3b7c06d08c141f9aee4313a29b
parent0d74f328aef06eaaad3aa6381a24d2031c03c6a9 (diff)
Notes
-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 f381ddc13af4..d2e8dfbc0509 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