aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-04-29 00:10:27 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-04-29 00:10:27 +0000
commit10f6fb1d4662bc7f460d73a210399d67402ab857 (patch)
treebad8c302350bf12cc14ce44a1e0490539e63532f
parente4ed64067e7de0607cfb23b95a542e29a84bf1fa (diff)
downloadbusybox-w32-10f6fb1d4662bc7f460d73a210399d67402ab857.tar.gz
busybox-w32-10f6fb1d4662bc7f460d73a210399d67402ab857.tar.bz2
busybox-w32-10f6fb1d4662bc7f460d73a210399d67402ab857.zip
fix build failure for libbusybox
-rw-r--r--libbb/appletlib.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/libbb/appletlib.c b/libbb/appletlib.c
index 5f6923da4..9fe0cf963 100644
--- a/libbb/appletlib.c
+++ b/libbb/appletlib.c
@@ -216,7 +216,8 @@ bool re_execed;
216#endif 216#endif
217 217
218 218
219#if !ENABLE_FEATURE_INDIVIDUAL 219/* If not built as a single-applet executable... */
220#if !defined(SINGLE_APPLET_MAIN)
220 221
221USE_FEATURE_SUID(static uid_t ruid;) /* real uid */ 222USE_FEATURE_SUID(static uid_t ruid;) /* real uid */
222 223
@@ -729,7 +730,7 @@ void run_applet_and_exit(const char *name, char **argv)
729 exit(busybox_main(argv)); 730 exit(busybox_main(argv));
730} 731}
731 732
732#endif /* !ENABLE_FEATURE_INDIVIDUAL */ 733#endif /* !defined(SINGLE_APPLET_MAIN) */
733 734
734 735
735 736
@@ -739,7 +740,7 @@ int lbb_main(char **argv)
739int main(int argc ATTRIBUTE_UNUSED, char **argv) 740int main(int argc ATTRIBUTE_UNUSED, char **argv)
740#endif 741#endif
741{ 742{
742#if ENABLE_FEATURE_INDIVIDUAL 743#if defined(SINGLE_APPLET_MAIN)
743 /* Only one applet is selected by the user! */ 744 /* Only one applet is selected by the user! */
744 /* applet_names in this case is just "applet\0\0" */ 745 /* applet_names in this case is just "applet\0\0" */
745 lbb_prepare(applet_names USE_FEATURE_INDIVIDUAL(, argv)); 746 lbb_prepare(applet_names USE_FEATURE_INDIVIDUAL(, argv));