aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-08-18 14:20:21 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-08-18 14:20:21 +0000
commit367960ba9abd66865c810a4d9411741fd25a3854 (patch)
treed11c311339298c2e0bf9c09d23cdcce6a73c6a42 /include
parent9611cb1215fa52200ca5259e3b226df34d0a8045 (diff)
downloadbusybox-w32-367960ba9abd66865c810a4d9411741fd25a3854.tar.gz
busybox-w32-367960ba9abd66865c810a4d9411741fd25a3854.tar.bz2
busybox-w32-367960ba9abd66865c810a4d9411741fd25a3854.zip
make standalone httpd work on NOMMU machines
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 651c48ba1..2519aeb98 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -587,10 +587,12 @@ enum {
587}; 587};
588#if BB_MMU 588#if BB_MMU
589 void forkexit_or_rexec(void); 589 void forkexit_or_rexec(void);
590 enum { re_execed = 0 };
590# define forkexit_or_rexec(argv) forkexit_or_rexec() 591# define forkexit_or_rexec(argv) forkexit_or_rexec()
591# define bb_daemonize_or_rexec(flags, argv) bb_daemonize_or_rexec(flags) 592# define bb_daemonize_or_rexec(flags, argv) bb_daemonize_or_rexec(flags)
592# define bb_daemonize(flags) bb_daemonize_or_rexec(flags, bogus) 593# define bb_daemonize(flags) bb_daemonize_or_rexec(flags, bogus)
593#else 594#else
595 void re_exec(char **argv) ATTRIBUTE_NORETURN;
594 void forkexit_or_rexec(char **argv); 596 void forkexit_or_rexec(char **argv);
595 extern bool re_execed; 597 extern bool re_execed;
596# define fork() BUG_fork_is_unavailable_on_nommu() 598# define fork() BUG_fork_is_unavailable_on_nommu()