From c1947f18f539b3e2e1972ec0c9a78c4651cf328b Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 23 Oct 2009 01:30:26 +0200 Subject: [PATCH] build failure fix and some cosmetics Signed-off-by: Denys Vlasenko --- libbb/appletlib.c | 2 +- shell/hush.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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