Seems that stupid libc5 doesn't implement daemon(), so conditionally

inclde that here.
 -Erik
This commit is contained in:
Eric Andersen
2001-04-04 19:25:57 +00:00
parent 2129f97cd9
commit b2e3e9b0c9
4 changed files with 108 additions and 1 deletions

View File

@ -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 */