Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu/dist/toolchain/libio include <unistd.h> on NetBSD to get...



details:   https://anonhg.NetBSD.org/src/rev/033f07f1ec2d
branches:  trunk
changeset: 513228:033f07f1ec2d
user:      mrg <mrg%NetBSD.org@localhost>
date:      Thu Jul 26 17:18:39 2001 +0000

description:
include <unistd.h> on NetBSD to get vfork() prototype (rename)

diffstat:

 gnu/dist/toolchain/libio/iopopen.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 97123a3bc0d6 -r 033f07f1ec2d gnu/dist/toolchain/libio/iopopen.c
--- a/gnu/dist/toolchain/libio/iopopen.c        Thu Jul 26 16:53:39 2001 +0000
+++ b/gnu/dist/toolchain/libio/iopopen.c        Thu Jul 26 17:18:39 2001 +0000
@@ -31,7 +31,7 @@
 #ifdef __STDC__
 #include <stdlib.h>
 #endif
-#ifdef _LIBC
+#if defined(_LIBC) || defined(__NetBSD__)
 # include <unistd.h>
 #endif
 #include <sys/types.h>



Home | Main Index | Thread Index | Old Index