aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utility.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utility.c b/utility.c
index 03d649757..9a303751d 100644
--- a/utility.c
+++ b/utility.c
@@ -1691,7 +1691,7 @@ char process_escape_sequence(char **ptr)
}
#endif
-#if defined BB_BASENAME || defined BB_LN || defined BB_SH
+#if defined BB_BASENAME || defined BB_LN || defined BB_SH || defined BB_INIT || defined BB_FEATURE_USE_PROCFS
char *get_last_path_component(char *path)
{
char *s=path+strlen(path)-1;