From: Denys Vlasenko Date: Thu, 22 Oct 2009 23:30:26 +0000 (+0200) Subject: build failure fix and some cosmetics X-Git-Tag: 1_16_0~334 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c1947f18f539b3e2e1972ec0c9a78c4651cf328b;p=oweals%2Fbusybox.git build failure fix and some cosmetics Signed-off-by: Denys Vlasenko --- diff --git a/libbb/appletlib.c b/libbb/appletlib.c index 0ebea4f44..b31532a93 100644 --- a/libbb/appletlib.c +++ b/libbb/appletlib.c @@ -27,10 +27,10 @@ * FEATURE_INSTALLER or FEATURE_SUID will still link printf routines in. :( */ +#include "busybox.h" #include #include #include /* PAGE_SIZE */ -#include "busybox.h" /* Declare _main() */ diff --git a/shell/hush.c b/shell/hush.c index 5edcdb844..1187cbe8f 100644 --- a/shell/hush.c +++ b/shell/hush.c @@ -454,9 +454,9 @@ struct function { char *name; struct command *parent_cmd; struct pipe *body; -#if !BB_MMU +# if !BB_MMU char *body_as_string; -#endif +# endif }; #endif