diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-04-04 19:25:57 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-04-04 19:25:57 +0000 |
commit | f8909e2e8496d90c3cf073f2d63caaad657b7103 (patch) | |
tree | d420a30885568b703014b5808e9f174aa8aa808e /libbb/libbb.h | |
parent | 42a88f0ced9e9a5ed4ad4020ee0b51db7b0c376d (diff) | |
download | busybox-w32-f8909e2e8496d90c3cf073f2d63caaad657b7103.tar.gz busybox-w32-f8909e2e8496d90c3cf073f2d63caaad657b7103.tar.bz2 busybox-w32-f8909e2e8496d90c3cf073f2d63caaad657b7103.zip |
Seems that stupid libc5 doesn't implement daemon(), so conditionally
inclde that here.
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@2242 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'libbb/libbb.h')
-rw-r--r-- | libbb/libbb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libbb/libbb.h b/libbb/libbb.h index b5c845952..d850befea 100644 --- a/libbb/libbb.h +++ b/libbb/libbb.h | |||
@@ -39,6 +39,8 @@ | |||
39 | #if ! defined __GLIBC__ && ! defined __UCLIBC__ | 39 | #if ! defined __GLIBC__ && ! defined __UCLIBC__ |
40 | /* libc5 doesn't define socklen_t */ | 40 | /* libc5 doesn't define socklen_t */ |
41 | typedef unsigned int socklen_t; | 41 | typedef unsigned int socklen_t; |
42 | /* libc5 doesn't implement BSD 4.4 daemon() */ | ||
43 | extern int daemon (int nochdir, int noclose); | ||
42 | #endif | 44 | #endif |
43 | 45 | ||
44 | /* Some useful definitions */ | 46 | /* Some useful definitions */ |