From 086adc370cc627c95f20e3a173dcaebe086b9869 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Tue, 4 Aug 2009 15:45:53 +0000 Subject: Fix daemon build for no-MMU no-threads. CLONE_VM (used in no-MMU daemon) is defined in . A build with threads ends up including via via ; this indirect include does not happen for a build without threads, so this patch adds a direct include. Signed-off-by: Joseph Myers --- libc/unistd/daemon.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libc') 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 +#include /* use clone() to get fork() like behavior here -- we just want to disassociate * from the controlling terminal */ -- cgit v1.2.3