projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
373af43
)
bb_xdaemon() isnt available on no-mmu systems
author
Mike Frysinger
<vapier@gentoo.org>
Wed, 7 Jun 2006 21:47:34 +0000
(21:47 -0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Wed, 7 Jun 2006 21:47:34 +0000
(21:47 -0000)
libbb/bb_xdaemon.c
patch
|
blob
|
history
diff --git
a/libbb/bb_xdaemon.c
b/libbb/bb_xdaemon.c
index b6328bc9f8255994e64ea1ab48fc3092f903cbb6..218b5247fdb021ed7acf31e4d0822402cb4eac47 100644
(file)
--- 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 <unistd.h>
#include "libbb.h"
+#ifndef BB_NOMMU
void bb_xdaemon(int nochdir, int noclose)
{
if (daemon(nochdir, noclose))
bb_perror_msg_and_die("daemon");
}
-
+#endif