aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/cmdedit.c3
-rw-r--r--shell/lash.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/shell/cmdedit.c b/shell/cmdedit.c
index ed441d394..2e57b9a34 100644
--- a/shell/cmdedit.c
+++ b/shell/cmdedit.c
@@ -54,6 +54,9 @@
#include <sys/stat.h>
#endif
+#include "pwd_grp/pwd.h"
+
+
static const int MAX_HISTORY = 15; /* Maximum length of the linked list for the command line history */
enum {
diff --git a/shell/lash.c b/shell/lash.c
index 87c37caa9..b1a7b93cf 100644
--- a/shell/lash.c
+++ b/shell/lash.c
@@ -1371,7 +1371,7 @@ static int pseudo_exec(struct child_prog *child)
struct built_in_command *x;
#ifdef BB_FEATURE_SH_STANDALONE_SHELL
struct BB_applet *applet;
- const char *name;
+ char *name;
#endif
/* Check if the command matches any of the non-forking builtins.