diff options
Diffstat (limited to 'sysklogd/syslogd.c')
-rw-r--r-- | sysklogd/syslogd.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c index 236f119..8441443 100644 --- a/sysklogd/syslogd.c +++ b/sysklogd/syslogd.c @@ -630,8 +630,12 @@ extern int syslogd_main(int argc, char **argv) umask(0); if (doFork == TRUE) { +#if !defined(__UCLIBC__) || defined(__UCLIBC_HAS_MMU__) if (daemon(0, 1) < 0) perror_msg_and_die("daemon"); +#else + error_msg_and_die("daemon not supported"); +#endif } doSyslogd(); |