summaryrefslogtreecommitdiffstats
path: root/libc
diff options
context:
space:
mode:
Diffstat (limited to 'libc')
-rw-r--r--libc/unistd/Makefile4
-rw-r--r--libc/unistd/daemon.c1
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>