From 96f67dc69d251168ea1c0adfaf6ff126d5dcbd36 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Thu, 17 May 2007 13:02:41 +0000 Subject: more compile fixes from randomconfig run --- libbb/vfork_daemon_rexec.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libbb/vfork_daemon_rexec.c') diff --git a/libbb/vfork_daemon_rexec.c b/libbb/vfork_daemon_rexec.c index aef74e994..a2572b0a9 100644 --- a/libbb/vfork_daemon_rexec.c +++ b/libbb/vfork_daemon_rexec.c @@ -100,6 +100,7 @@ int wait_pid(int *wstat, int pid) return r; } +#if ENABLE_FEATURE_PREFER_APPLETS void save_nofork_data(struct nofork_save_area *save) { save->current_applet = current_applet; @@ -162,6 +163,7 @@ int run_nofork_applet(const struct bb_applet *a, char **argv) save_nofork_data(&old); return run_nofork_applet_prime(&old, a, argv); } +#endif /* FEATURE_PREFER_APPLETS */ int spawn_and_wait(char **argv) { -- cgit v1.2.3