diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-04-20 17:48:24 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-04-20 17:48:24 +0000 |
commit | e89dc919b230615eb17c137034a81f27beb56de8 (patch) | |
tree | 9b8f7b837cb11e4b0efebae38925b506710aacfa /libc | |
parent | 039fefad93deee41292caff324f78ff1e74b437d (diff) | |
download | uClibc-alpine-e89dc919b230615eb17c137034a81f27beb56de8.tar.bz2 uClibc-alpine-e89dc919b230615eb17c137034a81f27beb56de8.tar.xz |
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
Diffstat (limited to 'libc')
-rw-r--r-- | libc/unistd/Makefile | 4 | ||||
-rw-r--r-- | libc/unistd/daemon.c | 1 |
2 files changed, 3 insertions, 2 deletions
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 <stdio.h> #include <features.h> #include <fcntl.h> #include <paths.h> |