summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Andersen2001-04-04 19:25:57 +0000
committerEric Andersen2001-04-04 19:25:57 +0000
commitb2e3e9b0c9149f0c7e1e6a8b46587d7cb53b68aa (patch)
treed420a30885568b703014b5808e9f174aa8aa808e /include
parent2129f97cd9502b731f6489e4c8be54fd44affc1d (diff)
downloadbusybox-b2e3e9b0c9149f0c7e1e6a8b46587d7cb53b68aa.zip
busybox-b2e3e9b0c9149f0c7e1e6a8b46587d7cb53b68aa.tar.gz
Seems that stupid libc5 doesn't implement daemon(), so conditionally
inclde that here. -Erik
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h
index b5c8459..d850bef 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -39,6 +39,8 @@
#if ! defined __GLIBC__ && ! defined __UCLIBC__
/* libc5 doesn't define socklen_t */
typedef unsigned int socklen_t;
+/* libc5 doesn't implement BSD 4.4 daemon() */
+extern int daemon (int nochdir, int noclose);
#endif
/* Some useful definitions */