From: Mike Frysinger Date: Wed, 7 Jun 2006 21:47:34 +0000 (-0000) Subject: bb_xdaemon() isnt available on no-mmu systems X-Git-Tag: 1_2_0~183 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ca70774293a3ebb0f1ca4b0626b135cc74cfdea8;p=oweals%2Fbusybox.git bb_xdaemon() isnt available on no-mmu systems --- diff --git a/libbb/bb_xdaemon.c b/libbb/bb_xdaemon.c index b6328bc9f..218b5247f 100644 --- a/libbb/bb_xdaemon.c +++ b/libbb/bb_xdaemon.c @@ -6,12 +6,14 @@ * * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. */ + #include #include "libbb.h" +#ifndef BB_NOMMU void bb_xdaemon(int nochdir, int noclose) { if (daemon(nochdir, noclose)) bb_perror_msg_and_die("daemon"); } - +#endif