From e89dc919b230615eb17c137034a81f27beb56de8 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 20 Apr 2001 17:48:24 +0000 Subject: Add missing header file for daemon.c, add missing functions into unistd.h. I still need to implement getlogin.c fpathconf.c, but they are required for IEEE Std. 1003.13-1998 POSIX_FILE_SYSTEM conformance and we don't have them yet. But we will very very soon. :-) -Erik --- libc/unistd/Makefile | 4 ++-- libc/unistd/daemon.c | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'libc/unistd') diff --git a/libc/unistd/Makefile b/libc/unistd/Makefile index 7202d0983..f9692ab6c 100644 --- a/libc/unistd/Makefile +++ b/libc/unistd/Makefile @@ -25,8 +25,8 @@ include $(TOPDIR)Rules.mak LIBC=$(TOPDIR)libc.a DIRS:= -CSRC=execl.c execlp.c execv.c execvep.c execvp.c getcwd.c getopt.c \ - sleep.c getpass.c sysconf_src.c getopt_vars.c daemon.c +CSRC=execl.c execlp.c execv.c execvep.c execvp.c execle.c getcwd.c getopt.c \ + sleep.c getpass.c sysconf_src.c getopt_vars.c daemon.c getlogin.c fpathconf.c # TESTING -- comment this out if it breaks for you ifeq ($(TARGET_ARCH), $(NATIVE_ARCH)) diff --git a/libc/unistd/daemon.c b/libc/unistd/daemon.c index 4542f51f8..10473cf74 100644 --- a/libc/unistd/daemon.c +++ b/libc/unistd/daemon.c @@ -26,6 +26,7 @@ * Original copyright notice is retained at the end of this file. */ +#include #include #include #include -- cgit v1.2.3