summaryrefslogtreecommitdiff
path: root/libc/unistd/daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/unistd/daemon.c')
-rw-r--r--libc/unistd/daemon.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/unistd/daemon.c b/libc/unistd/daemon.c
index 789488967..b18d6188f 100644
--- a/libc/unistd/daemon.c
+++ b/libc/unistd/daemon.c
@@ -59,6 +59,7 @@
#ifndef __ARCH_USE_MMU__
#include <sys/syscall.h>
+#include <sched.h>
/* use clone() to get fork() like behavior here -- we just want to disassociate
* from the controlling terminal
*/