summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1996-09-03 13:55:50 +0000
committerbde <bde@FreeBSD.org>1996-09-03 13:55:50 +0000
commit46c0540195d8219fc18878aaf2e8f89c0c6778dc (patch)
tree548b6f9e05d573904298aca743d4e1b248c246a7 /sys
parent0692a293b61a792c8d1512d756cedb72e9e3aa07 (diff)
downloadFreeBSD-src-46c0540195d8219fc18878aaf2e8f89c0c6778dc.zip
FreeBSD-src-46c0540195d8219fc18878aaf2e8f89c0c6778dc.tar.gz
Don't pollute the namespace with rfork flags if _POSIX_SOURCE is defined.
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/unistd.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/sys/unistd.h b/sys/sys/unistd.h
index 450d841..28acd7d 100644
--- a/sys/sys/unistd.h
+++ b/sys/sys/unistd.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)unistd.h 8.2 (Berkeley) 1/7/94
- * $Id: unistd.h,v 1.6 1996/04/17 17:05:08 smpatel Exp $
+ * $Id: unistd.h,v 1.7 1996/08/20 07:23:35 smpatel Exp $
*/
#ifndef _SYS_UNISTD_H_
@@ -119,6 +119,7 @@
/* configurable system strings */
#define _CS_PATH 1
+#ifndef _POSIX_SOURCE
/*
* rfork() options.
*
@@ -135,6 +136,6 @@
#define RFCENVG (1<<11) /* UNIMPL zero plan9 `env space' */
#define RFCFDG (1<<12) /* zero fd table */
#define RFPPWAIT (1<<31) /* parent sleeps until child exits (vfork) */
-
+#endif /* !_POSIX_SOURCE */
#endif /* !_SYS_UNISTD_H_ */
OpenPOWER on IntegriCloud